summaryrefslogtreecommitdiff
path: root/bus
diff options
context:
space:
mode:
authorChristian Dywan <christian.dywan@lanedo.com>2011-01-17 11:58:23 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-01-17 11:58:26 +0000
commit85cb8414ff268459f2d8350d3f3dd4bb9970badf (patch)
treeb71afa6bf4795a16e15ecb22cc2273bde5441014 /bus
parent6520ecde58635992602b37a01060f9fa58d029a9 (diff)
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>
Diffstat (limited to 'bus')
-rw-r--r--bus/signals.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bus/signals.c b/bus/signals.c
index 6f97b2b3..51c2216c 100644
--- a/bus/signals.c
+++ b/bus/signals.c
@@ -1102,6 +1102,7 @@ bus_matchmaker_new (void)
else
_dbus_hash_table_unref (p->rules_by_iface);
}
+ dbus_free (matchmaker);
return NULL;
}