diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2015-11-11 14:44:55 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-11-11 15:47:24 +0100 |
commit | b0b0536f91a1bbd23a93809c82d23e2c47e90d5f (patch) | |
tree | 2762e1e253149db902777baf3b7a0f014d1f3ca1 | |
parent | 3f099e3c290dd22cf3e344e53b6de2255c0ba12a (diff) |
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
-rw-r--r-- | tests/check/libs/video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/libs/video.c b/tests/check/libs/video.c index 0d29b8d08..b8decf1fe 100644 --- a/tests/check/libs/video.c +++ b/tests/check/libs/video.c @@ -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); |