tests: vaapi: fix memleak in vaapioverlay test

Need to unmap the frame to ensure vaapioverlay can destruct/dispose.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2503>
This commit is contained in:
U. Artie Eoff 2022-05-26 12:06:43 -04:00 committed by GStreamer Marge Bot
parent becabd36da
commit 331e3af879

View file

@ -191,6 +191,7 @@ GST_START_TEST (test_overlay_position)
}
}
}
gst_video_frame_unmap (&frame);
/* cleanup */
gst_buffer_replace (&handoff_buffer, NULL);