check/media: Fix thread pool leak.
authorPatricia Muscalu <patricia@axis.com>
Thu, 23 Nov 2017 17:51:21 +0000 (18:51 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 24 Nov 2017 09:52:36 +0000 (10:52 +0100)
Change-Id: I0f92b1caca0ee518ae64a7dacfbd28a214c3eea1

https://bugzilla.gnome.org/show_bug.cgi?id=790674

tests/check/gst/media.c

index 99f19b0..e143916 100644 (file)
@@ -253,6 +253,8 @@ test_prepare_reusable (const gchar * launch_line)
   g_object_unref (media);
   gst_rtsp_url_free (url);
   g_object_unref (factory);
+
+  g_object_unref (pool);
 }
 
 GST_START_TEST (test_media_reusable)