diff --git a/test/testffmpeg_vulkan.c b/test/testffmpeg_vulkan.c index 467100b29..6f1ebca92 100644 --- a/test/testffmpeg_vulkan.c +++ b/test/testffmpeg_vulkan.c @@ -242,7 +242,6 @@ static int createInstance(VulkanVideoContext *context) context->instanceExtensionsCount = instanceCreateInfo.enabledExtensionCount; result = context->vkCreateInstance(&instanceCreateInfo, NULL, &context->instance); - SDL_free((void *)instanceExtensionsCopy); if (result != VK_SUCCESS) { context->instance = VK_NULL_HANDLE; return SDL_SetError("vkCreateInstance(): %s\n", getVulkanResultString(result));