playbin: Fix memory leak in unit test
authorSebastian Dröge <sebastian@centricular.com>
Mon, 10 Feb 2014 15:33:35 +0000 (16:33 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 10 Feb 2014 15:33:35 +0000 (16:33 +0100)
tests/check/elements/playbin-complex.c

index 56a219d..706cb47 100644 (file)
@@ -845,6 +845,7 @@ GST_START_TEST (test_autoplug_decoder_sink_combination)
   g_free (path);
 
   playbin = create_playbin (uri, FALSE);
+  g_free (uri);
 
   asink = gst_element_factory_make ("fakesink", NULL);
   g_object_set (asink, "sync", TRUE, NULL);