also call gst_deinit() in media-check and transcoding
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 23 Mar 2015 12:36:45 +0000 (13:36 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 26 Mar 2015 08:18:44 +0000 (09:18 +0100)
More valgrind friendly.

validate/tools/gst-validate-media-check.c
validate/tools/gst-validate-transcoding.c

index 370bae9..d0b9c77 100644 (file)
@@ -132,6 +132,7 @@ main (int argc, gchar ** argv)
     gst_object_unref (reference);
   gst_object_unref (writer);
   gst_object_unref (runner);
+  gst_deinit ();
 
   return ret;
 }
index f80eee3..d508a90 100644 (file)
@@ -957,6 +957,7 @@ exit:
 #ifdef G_OS_UNIX
   g_source_remove (signal_watch_id);
 #endif
+  gst_deinit ();
 
   g_print ("\n=======> Test %s (Return value: %i)\n\n",
       ret == 0 ? "PASSED" : "FAILED", ret);