mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
dvbsuboverlay: plug some ref leaks
This commit is contained in:
parent
081779aaa8
commit
47be2fc3d8
1 changed files with 2 additions and 0 deletions
|
@ -772,6 +772,8 @@ gst_dvbsub_overlay_subs_to_comp (GstDVBSubOverlay * overlay,
|
||||||
} else {
|
} else {
|
||||||
comp = gst_video_overlay_composition_new (rect);
|
comp = gst_video_overlay_composition_new (rect);
|
||||||
}
|
}
|
||||||
|
gst_video_overlay_rectangle_unref (rect);
|
||||||
|
gst_buffer_unref (buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
return comp;
|
return comp;
|
||||||
|
|
Loading…
Reference in a new issue