mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
tests: camerabin2: fix mainloop leaks
This commit is contained in:
parent
399ec70a08
commit
d64e833a07
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue