From 981db9d1d3d77d51a27b67ba852845ae85aeb74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Mon, 19 Jun 2023 14:27:24 +0200 Subject: [PATCH] tests: fix mem leak in vkimagebufferpool caps should be freed after usage. Part-of: --- subprojects/gst-plugins-bad/tests/check/libs/vkimagebufferpool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/tests/check/libs/vkimagebufferpool.c b/subprojects/gst-plugins-bad/tests/check/libs/vkimagebufferpool.c index fc27967786..6434242ad4 100644 --- a/subprojects/gst-plugins-bad/tests/check/libs/vkimagebufferpool.c +++ b/subprojects/gst-plugins-bad/tests/check/libs/vkimagebufferpool.c @@ -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