summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-12-05 13:59:46 +0000
committerSimon McVittie <smcv@collabora.com>2017-12-11 16:03:19 +0000
commitdf837beb2fecb8caaaf6a80669d94d1fd72967a6 (patch)
treeb1f686d1dc34ff57270413d23749a215f694e249
parentdf6ab890b50e92890e0754d8d33cff3238bc2431 (diff)
squash! test/containers: Exercise a successful call to AddServer
Don't leak the directory names either.
-rw-r--r--test/containers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/containers.c b/test/containers.c
index 7ae117fb..b3710123 100644
--- a/test/containers.c
+++ b/test/containers.c
@@ -443,5 +443,9 @@ main (int argc,
test_rmdir_if_exists (runtime_services_dir);
test_rmdir_if_exists (runtime_dbus_dir);
test_rmdir_must_exist (runtime_dir);
+ g_free (runtime_containers_dir);
+ g_free (runtime_services_dir);
+ g_free (runtime_dbus_dir);
+ g_free (runtime_dir);
return ret;
}