summaryrefslogtreecommitdiff
path: root/bus/dispatch.c
diff options
context:
space:
mode:
authorFrank Osterfeld <frank@kdab.net>2009-04-22 15:26:06 +0100
committerunknown <Administrator@.(none)>2009-11-30 11:09:20 +0100
commit7a4b9293f3cd9bbf7d648f2a6cc0d61b4278bac0 (patch)
tree3ff165a165c9e237162d239313250ae751833866 /bus/dispatch.c
parent2feb3e2e653be1ef1292b92036f919bb990586c9 (diff)
don't leak string list in error case (cherry picked from commit e4f39254976544781f1060c2051b10f32628408e)
Diffstat (limited to 'bus/dispatch.c')
-rw-r--r--bus/dispatch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bus/dispatch.c b/bus/dispatch.c
index a69a929c..9ad494b5 100644
--- a/bus/dispatch.c
+++ b/bus/dispatch.c
@@ -4197,6 +4197,7 @@ check_list_services (BusContext *context,
if (!_dbus_string_array_contains ((const char **)services, existent))
{
_dbus_warn ("Did not get the expected %s from ListActivatableNames\n", existent);
+ dbus_free_string_array (services);
return FALSE;
}