mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
tests:video: Fix overlay rectangle and buffer leak
Created overlay rectangle is not being freed in video tests pix2 buffer is being created and not freed https://bugzilla.gnome.org/show_bug.cgi?id=757927
This commit is contained in:
parent
3f099e3c29
commit
b0b0536f91
1 changed files with 2 additions and 0 deletions
|
@ -2666,6 +2666,8 @@ GST_START_TEST (test_overlay_composition_over_transparency)
|
|||
comp1 = gst_video_overlay_composition_new (rect1);
|
||||
fail_unless (gst_video_overlay_composition_blend (comp1, &video_frame));
|
||||
gst_video_overlay_composition_unref (comp1);
|
||||
gst_video_overlay_rectangle_unref (rect1);
|
||||
gst_buffer_unref (pix2);
|
||||
|
||||
data = GST_VIDEO_FRAME_PLANE_DATA (&video_frame, 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue