projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df9fcd2
)
Add a check for lack of memory
author
Mike Gorse
<mgorse@boston.site>
Thu, 17 Apr 2008 20:28:09 +0000
(16:28 -0400)
committer
Mike Gorse
<mgorse@boston.site>
Thu, 17 Apr 2008 20:28:09 +0000
(16:28 -0400)
libspi/accessible.c
patch
|
blob
|
history
diff --git
a/libspi/accessible.c
b/libspi/accessible.c
index 5828a8b93b3480292ca672a6920a0861c27d0da2..e27c71275645ecf9c09540fd245e1550cec5fefa 100644
(file)
--- a/
libspi/accessible.c
+++ b/
libspi/accessible.c
@@
-139,6
+139,7
@@
impl_getChildren (DBusConnection * bus, DBusMessage * message,
return spi_dbus_general_error (message);
count = atk_object_get_n_accessible_children (object);
reply = dbus_message_new_method_return (message);
+ if (!reply) goto oom;
dbus_message_iter_init_append (reply, &iter);
if (!dbus_message_iter_open_container
(&iter, DBUS_TYPE_ARRAY, "o", &iter_array))