mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-26 05:41:24 +00:00
fix memory leak
This commit is contained in:
parent
876c28b366
commit
1536a48ff0
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
Loading…
Reference in a new issue