summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/dvbsuboverlay/gstdvbsuboverlay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/dvbsuboverlay/gstdvbsuboverlay.c b/gst/dvbsuboverlay/gstdvbsuboverlay.c
index dc2b2d473..9962ff023 100644
--- a/gst/dvbsuboverlay/gstdvbsuboverlay.c
+++ b/gst/dvbsuboverlay/gstdvbsuboverlay.c
@@ -905,6 +905,8 @@ gst_dvbsub_overlay_chain_video (GstPad * pad, GstBuffer * buffer)
dvb_subtitles_free (candidate);
candidate = NULL;
g_queue_pop_head (overlay->pending_subtitles);
+ dvb_subtitles_free (tmp);
+ tmp = NULL;
} else if (tmp->pts + tmp->page_time_out * GST_SECOND *
overlay->subtitle_segment.abs_rate >= vid_running_time) {
if (candidate)