summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2013-07-03 18:00:55 +0200
committerEdward Hervey <edward@collabora.com>2013-07-03 18:00:55 +0200
commit61a8cbae41843c8ab83eca4bf1211eeae98aed1b (patch)
tree686cbb18f88871821d85f08be13b30668f8e6be9 /tests
parent982aee25c64cc9dfca7810f192f0c5f9b8247906 (diff)
downloadgstreamer-plugins-bad-61a8cbae41843c8ab83eca4bf1211eeae98aed1b.tar.gz
examples: Fix a leak
Diffstat (limited to 'tests')
-rw-r--r--tests/examples/mpegts/ts-parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/examples/mpegts/ts-parser.c b/tests/examples/mpegts/ts-parser.c
index 30dc797fd..f878a9037 100644
--- a/tests/examples/mpegts/ts-parser.c
+++ b/tests/examples/mpegts/ts-parser.c
@@ -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;
}