testffmpeg: don't free the instance extensions, we hold onto them in the context

This commit is contained in:
Sam Lantinga 2024-03-04 10:27:28 -08:00
parent 2d4105ba8b
commit 180dd0bb39
1 changed files with 0 additions and 1 deletions

View File

@ -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));