From 1536a48ff0e10197b049a7ecefab780e37f5ae78 Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Fri, 22 Sep 2023 20:55:25 +0300 Subject: [PATCH] fix memory leak --- source/psp/video_hardware_draw.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/psp/video_hardware_draw.cpp b/source/psp/video_hardware_draw.cpp index ebe7005..003bbde 100644 --- a/source/psp/video_hardware_draw.cpp +++ b/source/psp/video_hardware_draw.cpp @@ -3462,6 +3462,7 @@ int GL_LoadTexture8to4(const char *identifier, unsigned int width, unsigned int int id = GL_LoadTexture4(identifier, new_width, new_height, clut4data, filter, qtrue); free(clut4data); + free(resamp_data); return id; } \ No newline at end of file