summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hammond <chipx86@chipx86.com>2005-06-20 08:56:22 +0000
committerChristian Hammond <chipx86@chipx86.com>2005-06-20 08:56:22 +0000
commit81a5a510b7e2b1c7d519360166f04a800020e2d4 (patch)
tree4752f3971f3c4a8fb5d1f05004a2e20699e754ed
parent7b16a860ff6aa31457f8cf853baeb15bf6f2a1ce (diff)
downloadlibnotify-81a5a510b7e2b1c7d519360166f04a800020e2d4.tar.gz
Be a little better at not crashing. Just a bit better. There's still another crash I'm trying to track down.
-rw-r--r--ChangeLog6
-rw-r--r--libnotify/notify.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7aca007..7c625c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Jun 20 06:13:02 PDT 2005 Christian Hammond <chipx86@gnupdate.org>
+
+ * libnotify/notify.c:
+ - Be a little better at not crashing. Just a bit better. There's
+ still another crash I'm trying to track down.
+
Mon Jun 20 04:53:29 PDT 2005 Christian Hammond <chipx86@gnupdate.org>
* libnotify/notify.c:
diff --git a/libnotify/notify.c b/libnotify/notify.c
index f457f40..85e5cc2 100644
--- a/libnotify/notify.c
+++ b/libnotify/notify.c
@@ -452,9 +452,11 @@ notify_get_server_info(char **ret_name, char **ret_vendor, char **ret_version)
if (ret_version != NULL)
*ret_version = g_strdup(version);
+#if !NOTIFY_CHECK_DBUS_VERSION(0, 30)
dbus_free(name);
dbus_free(vendor);
dbus_free(version);
+#endif
return TRUE;
}