From 392d12afc1ef084c5cd656307180027399b7a54e Mon Sep 17 00:00:00 2001
From: Evan Hemsley <[EMAIL REDACTED]>
Date: Wed, 9 Jul 2025 15:18:11 -0700
Subject: [PATCH] Don't free compute shader metadata (#161)
---
src/SDL_shadercross.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/SDL_shadercross.c b/src/SDL_shadercross.c
index f656620..d0f8c25 100644
--- a/src/SDL_shadercross.c
+++ b/src/SDL_shadercross.c
@@ -2529,8 +2529,6 @@ static void *SDL_ShaderCross_INTERNAL_CreateShaderFromSPIRV(
SDL_DestroyProperties(createInfo.props);
}
- SDL_free(pipelineMetadata);
-
return result;
} else {
SDL_GPUShaderCreateInfo createInfo;