summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2013-12-03 00:34:52 +0100
committerTim-Philipp Müller <tim@centricular.com>2013-12-03 00:05:17 +0000
commit26f215ac369bf82626d37b2d1856005ad4fddef7 (patch)
tree87350a7ccd266d5f4ee45965531ab4df809abebc /tests
parent9473fa0d2cd2db92baf318d327a94b8d3efca98b (diff)
tests: fix memory leak, free test's thread pool
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=719733
Diffstat (limited to 'tests')
-rw-r--r--tests/check/gst/media.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/gst/media.c b/tests/check/gst/media.c
index 23e8586..df3e1c2 100644
--- a/tests/check/gst/media.c
+++ b/tests/check/gst/media.c
@@ -189,6 +189,7 @@ GST_START_TEST (test_media_prepare)
g_object_unref (media);
gst_rtsp_url_free (url);
g_object_unref (factory);
+ g_object_unref (pool);
}
GST_END_TEST;
@@ -340,6 +341,7 @@ GST_START_TEST (test_media_reset)
gst_rtsp_url_free (url);
g_object_unref (factory);
+ g_object_unref (pool);
}
GST_END_TEST;