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:
ed0f060
)
Avoid crashing on null user_data
author
Mike Gorse
<mgorse@boston.site>
Thu, 15 May 2008 20:03:45 +0000
(16:03 -0400)
committer
Mike Gorse
<mgorse@boston.site>
Thu, 15 May 2008 20:03:45 +0000
(16:03 -0400)
libspi/tree.c
patch
|
blob
|
history
diff --git
a/libspi/tree.c
b/libspi/tree.c
index
fe26fbe
..
e8a88e1
100644
(file)
--- a/
libspi/tree.c
+++ b/
libspi/tree.c
@@
-71,7
+71,7
@@
append_update (DBusMessageIter * iter_array, AtkObject * obj,
goto oom;
dbus_message_iter_open_container (&iter_struct, DBUS_TYPE_ARRAY, "s",
&iter_sub_array);
goto oom;
dbus_message_iter_open_container (&iter_struct, DBUS_TYPE_ARRAY, "s",
&iter_sub_array);
- for (l = data->interfaces; l; l = g_slist_next (l))
+
if (data)
for (l = data->interfaces; l; l = g_slist_next (l))
{
DRouteInterface *iface_def = (DRouteInterface *) l->data;
void *datum = NULL;
{
DRouteInterface *iface_def = (DRouteInterface *) l->data;
void *datum = NULL;