mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-03 12:40:17 +01:00
test/containers: Fix some memory leaks
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
This commit is contained in:
parent
8095e52e5c
commit
620406f757
1 changed files with 4 additions and 0 deletions
|
|
@ -1079,6 +1079,7 @@ test_stop_server (Fixture *f,
|
|||
g_free (error_name);
|
||||
g_assert_null (tuple);
|
||||
g_clear_error (&f->error);
|
||||
g_clear_object (&socket_address);
|
||||
|
||||
#else /* !HAVE_CONTAINERS_TEST */
|
||||
g_test_skip ("Containers or gio-unix-2.0 not supported");
|
||||
|
|
@ -1548,6 +1549,9 @@ test_max_connections_per_container (Fixture *f,
|
|||
g_clear_object (&socket_addresses[i]);
|
||||
}
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (placeholders); i++)
|
||||
g_clear_object (&placeholders[i]);
|
||||
|
||||
#undef LIMIT
|
||||
#else /* !HAVE_CONTAINERS_TEST */
|
||||
g_test_skip ("Containers or gio-unix-2.0 not supported");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue