]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
test/dbus-daemon: Don't leak expected error for max connections
authorSimon McVittie <smcv@collabora.com>
Wed, 11 Jul 2018 18:55:31 +0000 (19:55 +0100)
committerSimon McVittie <smcv@collabora.com>
Thu, 2 Aug 2018 16:15:21 +0000 (17:15 +0100)
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=107194

test/dbus-daemon.c

index 49fc1e3eebe537d627f2598fb8c912386ab0b204..b4153395056eae021a05fc38bf70231d8c4eebf5 100644 (file)
@@ -698,6 +698,7 @@ test_max_connections (Fixture *f,
   dbus_clear_connection (&failing_conn);
   dbus_connection_close (third_conn);
   dbus_clear_connection (&third_conn);
+  dbus_error_free (&error);
 }
 
 static void