summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2011-10-10 13:18:04 +0200
committerRob Bradford <rob@linux.intel.com>2011-10-26 16:35:40 +0100
commitad3bc4f4fc78749e0d4bf2bfc2cd8045e2570f3f (patch)
tree132fc45a71f51811fef3c7250b8991eb9cd17ec3
parent9189d408b9ec51defefc99a4ad385fa453040ea2 (diff)
downloadgconf-ad3bc4f4fc78749e0d4bf2bfc2cd8045e2570f3f.tar.gz
gconf-dbus: Don't crash when reply is NULL in gconf_engine_notify_remove()
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=661372
-rw-r--r--gconf/gconf-dbus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gconf/gconf-dbus.c b/gconf/gconf-dbus.c
index 76b01ce3..817a1f99 100644
--- a/gconf/gconf-dbus.c
+++ b/gconf/gconf-dbus.c
@@ -1110,7 +1110,8 @@ gconf_engine_notify_remove (GConfEngine* conf,
g_free (namespace_section);
- dbus_message_unref (reply);
+ if (reply != NULL)
+ dbus_message_unref (reply);
}
GConfValue *