tests: fix mem leak in vkimagebufferpool
caps should be freed after usage. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4904>
This commit is contained in:
parent
fc0ee45fb5
commit
981db9d1d3
@ -145,6 +145,7 @@ GST_START_TEST (test_vulkan_profiles)
|
||||
fail_unless (caps);
|
||||
|
||||
fail_unless (gst_vulkan_video_profile_from_caps (&profile2, caps));
|
||||
gst_caps_unref (caps);
|
||||
fail_unless (profile2.profile.sType
|
||||
== VK_STRUCTURE_TYPE_VIDEO_PROFILE_INFO_KHR);
|
||||
fail_unless (profile2.profile.videoCodecOperation
|
||||
|
Loading…
x
Reference in New Issue
Block a user