mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
tests: fix leak in video unit test
This commit is contained in:
parent
9032c12e69
commit
c61604fd9b
1 changed files with 1 additions and 0 deletions
|
@ -2375,6 +2375,7 @@ test_overlay_blend_rect (gint x, gint y, gint width, gint height,
|
||||||
comp1 = gst_video_overlay_composition_new (rect1);
|
comp1 = gst_video_overlay_composition_new (rect1);
|
||||||
fail_unless (gst_video_overlay_composition_blend (comp1, video_frame));
|
fail_unless (gst_video_overlay_composition_blend (comp1, video_frame));
|
||||||
gst_video_overlay_composition_unref (comp1);
|
gst_video_overlay_composition_unref (comp1);
|
||||||
|
gst_video_overlay_rectangle_unref (rect1);
|
||||||
|
|
||||||
test_overlay_blend_rect_verify (x, y, width, height, video_frame);
|
test_overlay_blend_rect_verify (x, y, width, height, video_frame);
|
||||||
gst_video_frame_unmap (video_frame);
|
gst_video_frame_unmap (video_frame);
|
||||||
|
|
Loading…
Reference in a new issue