bus_matchmaker_new: free matchmaker itself, on OOM
authorChristian Dywan <christian.dywan@lanedo.com>
Mon, 17 Jan 2011 11:58:23 +0000 (11:58 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 17 Jan 2011 11:58:26 +0000 (11:58 +0000)
Origin: vendor, Maemo
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33128
Bug-NB: NB#180486
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
bus/signals.c

index 6f97b2b..51c2216 100644 (file)
@@ -1102,6 +1102,7 @@ bus_matchmaker_new (void)
       else
         _dbus_hash_table_unref (p->rules_by_iface);
     }
+  dbus_free (matchmaker);
 
   return NULL;
 }