From 7a4b9293f3cd9bbf7d648f2a6cc0d61b4278bac0 Mon Sep 17 00:00:00 2001 From: Frank Osterfeld Date: Wed, 22 Apr 2009 15:26:06 +0100 Subject: don't leak string list in error case (cherry picked from commit e4f39254976544781f1060c2051b10f32628408e) --- bus/dispatch.c | 1 + 1 file changed, 1 insertion(+) (limited to 'bus') 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; } -- cgit v1.2.3