diff options
author | Christian Hammond <chipx86@chipx86.com> | 2005-06-20 08:56:22 +0000 |
---|---|---|
committer | Christian Hammond <chipx86@chipx86.com> | 2005-06-20 08:56:22 +0000 |
commit | 81a5a510b7e2b1c7d519360166f04a800020e2d4 (patch) | |
tree | 4752f3971f3c4a8fb5d1f05004a2e20699e754ed | |
parent | 7b16a860ff6aa31457f8cf853baeb15bf6f2a1ce (diff) | |
download | libnotify-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-- | ChangeLog | 6 | ||||
-rw-r--r-- | libnotify/notify.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -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; } |