examples: Fix a leak
authorEdward Hervey <edward@collabora.com>
Wed, 3 Jul 2013 16:00:55 +0000 (18:00 +0200)
committerEdward Hervey <edward@collabora.com>
Wed, 3 Jul 2013 16:00:55 +0000 (18:00 +0200)
tests/examples/mpegts/ts-parser.c

index 30dc797..f878a90 100644 (file)
@@ -438,5 +438,8 @@ main (int argc, gchar ** argv)
 
   gst_element_set_state (pipeline, GST_STATE_NULL);
 
+  gst_object_unref (pipeline);
+  gst_object_unref (bus);
+
   return 0;
 }