[0.10] gst-plugins-bad: mpegtsmux: fix pad iterator leak
Alessandro Decina
alessandro at kemper.freedesktop.org
Fri Apr 13 00:23:01 PDT 2012
Module: gst-plugins-bad
Branch: 0.10
Commit: 17ca1c3d832946efd7f0d935f250b7493e7e63c2
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=17ca1c3d832946efd7f0d935f250b7493e7e63c2
Author: Alessandro Decina <alessandro.decina at collabora.co.uk>
Date: Fri Apr 13 00:13:39 2012 +0200
mpegtsmux: fix pad iterator leak
---
gst/mpegtsmux/mpegtsmux.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c
index 002d6d5..3adab5a 100644
--- a/gst/mpegtsmux/mpegtsmux.c
+++ b/gst/mpegtsmux/mpegtsmux.c
@@ -778,8 +778,7 @@ mpegtsmux_src_event (GstPad * pad, GstEvent * event)
break;
}
}
-
- gst_event_unref (event);
+ gst_iterator_free (iter);
break;
}
default:
More information about the gstreamer-commits
mailing list