fix memory leak

This commit is contained in:
Shpuld Shpuldson 2023-09-22 20:55:25 +03:00
parent 876c28b366
commit 1536a48ff0

View file

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