bus_matchmaker_new: free matchmaker itself, on OOM

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>
This commit is contained in:
Christian Dywan 2011-01-17 11:58:23 +00:00 committed by Simon McVittie
parent 6520ecde58
commit 85cb8414ff

View file

@ -1102,6 +1102,7 @@ bus_matchmaker_new (void)
else
_dbus_hash_table_unref (p->rules_by_iface);
}
dbus_free (matchmaker);
return NULL;
}