diff options
author | Thiago Santos <thiagoss@osg.samsung.com> | 2015-02-03 17:05:06 -0300 |
---|---|---|
committer | Thiago Santos <thiagoss@osg.samsung.com> | 2015-02-03 17:05:06 -0300 |
commit | e9c1d64895a183546004e1d8342353200a387c20 (patch) | |
tree | 0ce1d22f8466d0a028279e6a6fc6751560af8c7b /gst/mpegtsmux | |
parent | 77bafb4dbca76fe160acd76a8bd3811e9c57cbaf (diff) | |
download | gstreamer-plugins-bad-e9c1d64895a183546004e1d8342353200a387c20.tar.gz |
mpegtsmux: avoid leaking force keyunit event when going to NULL
Do not set to NULL before unreffing the event or it will leak
Diffstat (limited to 'gst/mpegtsmux')
-rw-r--r-- | gst/mpegtsmux/mpegtsmux.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c index 931cca48d..37ef6a55a 100644 --- a/gst/mpegtsmux/mpegtsmux.c +++ b/gst/mpegtsmux/mpegtsmux.c @@ -374,7 +374,6 @@ mpegtsmux_reset (MpegTsMux * mux, gboolean alloc) mux->is_delta = TRUE; mux->streamheader_sent = FALSE; - mux->force_key_unit_event = NULL; mux->pending_key_unit_ts = GST_CLOCK_TIME_NONE; #if 0 mux->spn_count = 0; |