call gst_deinit() when we are done
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>
Mon, 23 Mar 2015 12:41:03 +0000 (13:41 +0100)
More valgrind friendly.

validate/tools/gst-validate.c

index de80920..62bff26 100644 (file)
@@ -624,6 +624,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);