summaryrefslogtreecommitdiff
path: root/gst/mpegtsmux
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2015-02-03 17:05:06 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2015-02-03 17:05:06 -0300
commite9c1d64895a183546004e1d8342353200a387c20 (patch)
tree0ce1d22f8466d0a028279e6a6fc6751560af8c7b /gst/mpegtsmux
parent77bafb4dbca76fe160acd76a8bd3811e9c57cbaf (diff)
downloadgstreamer-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.c1
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;