mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ GST_START_TEST (test_vulkan_profiles)
|
||||||
fail_unless (caps);
|
fail_unless (caps);
|
||||||
|
|
||||||
fail_unless (gst_vulkan_video_profile_from_caps (&profile2, caps));
|
fail_unless (gst_vulkan_video_profile_from_caps (&profile2, caps));
|
||||||
|
gst_caps_unref (caps);
|
||||||
fail_unless (profile2.profile.sType
|
fail_unless (profile2.profile.sType
|
||||||
== VK_STRUCTURE_TYPE_VIDEO_PROFILE_INFO_KHR);
|
== VK_STRUCTURE_TYPE_VIDEO_PROFILE_INFO_KHR);
|
||||||
fail_unless (profile2.profile.videoCodecOperation
|
fail_unless (profile2.profile.videoCodecOperation
|
||||||
|
|
Loading…
Reference in a new issue