summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZaheer Merali <zaheerabbas@merali.org>2009-04-18 13:09:23 +0100
committerZaheer Merali <zaheerabbas@merali.org>2009-04-18 13:09:23 +0100
commitc9ae67fac9fd5e58d565b38902de5f1e0eb3948f (patch)
tree06778459b320f429084e23af0eec5886442956e1
parent71076cad544d34cc7fa1998313af0fdb179969ee (diff)
downloadgst-plugins-bad-c9ae67fac9fd5e58d565b38902de5f1e0eb3948f.tar.gz
gst-plugins-bad-c9ae67fac9fd5e58d565b38902de5f1e0eb3948f.tar.bz2
gst-plugins-bad-c9ae67fac9fd5e58d565b38902de5f1e0eb3948f.zip
mpegtsparse: fix leak in src_pad_query
-rw-r--r--gst/mpegdemux/mpegtsparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegdemux/mpegtsparse.c b/gst/mpegdemux/mpegtsparse.c
index e4d179e5..3a2d647d 100644
--- a/gst/mpegdemux/mpegtsparse.c
+++ b/gst/mpegdemux/mpegtsparse.c
@@ -1278,7 +1278,7 @@ mpegts_parse_src_pad_query (GstPad * pad, GstQuery * query)
default:
res = gst_pad_query_default (pad, query);
}
-
+ gst_object_unref (parse);
return res;
}