summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.com>2011-12-27 10:23:18 -0300
committerThiago Santos <thiago.sousa.santos@collabora.com>2011-12-27 16:40:38 -0300
commitd64e833a07f9e7fdabc8b80784e5b4ebcb990389 (patch)
tree5094f01cf7f6d8f51fad832dccce85e655b0ace7 /tests
parent399ec70a087b9646bd888a8841efd8290690fc38 (diff)
downloadgstreamer-plugins-bad-d64e833a07f9e7fdabc8b80784e5b4ebcb990389.tar.gz
tests: camerabin2: fix mainloop leaks
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/camerabin2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/elements/camerabin2.c b/tests/check/elements/camerabin2.c
index e830bfcaa..4681a91ec 100644
--- a/tests/check/elements/camerabin2.c
+++ b/tests/check/elements/camerabin2.c
@@ -347,6 +347,7 @@ extract_jpeg_tags (const gchar * filename, gint num)
gst_object_unref (bus);
g_source_remove (source);
gst_object_unref (pipeline);
+ g_main_loop_unref (loop);
}
static void
@@ -563,6 +564,7 @@ check_file_validity (const gchar * filename, gint num, GstTagList * taglist,
g_source_remove (source);
gst_object_unref (bus);
gst_object_unref (playbin);
+ g_main_loop_unref (loop);
return TRUE;
}