diff options
author | Havoc Pennington <hp@redhat.com> | 2003-03-17 02:20:18 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-03-17 02:20:18 +0000 |
commit | 23e4978e2f07de14449f63320cd5e6b066672b8e (patch) | |
tree | a3a4ba17073941ed071771b99ae95d4a26bcfa40 /dbus | |
parent | b4a1100f4f81534e2aac0141afda750f318223d4 (diff) |
2003-03-16 Havoc Pennington <hp@pobox.com>
* bus/dispatch.c (bus_dispatch_test): remove double-unrefs of
connections
* dbus/dbus-address.c (create_entry): fix OOM handling when
failing to alloc entry->method
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/dbus-address.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dbus/dbus-address.c b/dbus/dbus-address.c index 87a99bd8..ef8a51da 100644 --- a/dbus/dbus-address.c +++ b/dbus/dbus-address.c @@ -98,7 +98,10 @@ create_entry (void) return NULL; if (!_dbus_string_init (&entry->method, _DBUS_INT_MAX)) - dbus_free (entry); + { + dbus_free (entry); + return NULL; + } return entry; } |