Be a little better at not crashing. Just a bit better. There's still another crash I'm trying to track down.

This commit is contained in:
Christian Hammond 2005-06-20 08:56:22 +00:00
parent 7b16a860ff
commit 81a5a510b7
2 changed files with 8 additions and 0 deletions

View File

@ -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:

View File

@ -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;
}