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:
parent
7b16a860ff
commit
81a5a510b7
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue