summaryrefslogtreecommitdiff
path: root/gst/dvbsuboverlay
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-07-17 18:05:00 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-07-17 18:09:46 +0200
commit47be2fc3d834eadc3e126e5a2e7ba6bf71f3597b (patch)
treed11e2fa55c4753c48b5e3b2369d7d49981dd0e07 /gst/dvbsuboverlay
parent081779aaa810ba55ba8a959932eedfd16017a3a7 (diff)
downloadgstreamer-plugins-bad-47be2fc3d834eadc3e126e5a2e7ba6bf71f3597b.tar.gz
dvbsuboverlay: plug some ref leaks
Diffstat (limited to 'gst/dvbsuboverlay')
-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 3a3529b41..6de5f0c25 100644
--- a/gst/dvbsuboverlay/gstdvbsuboverlay.c
+++ b/gst/dvbsuboverlay/gstdvbsuboverlay.c
@@ -772,6 +772,8 @@ gst_dvbsub_overlay_subs_to_comp (GstDVBSubOverlay * overlay,
} else {
comp = gst_video_overlay_composition_new (rect);
}
+ gst_video_overlay_rectangle_unref (rect);
+ gst_buffer_unref (buf);
}
return comp;