mirror of
https://github.com/aap/librw.git
synced 2024-11-27 14:15:41 +00:00
fix mem leak
This commit is contained in:
parent
b164e49dcf
commit
5ac21e0f2f
@ -340,6 +340,7 @@ Shader::destroy(void)
|
||||
{
|
||||
glDeleteProgram(this->program);
|
||||
rwFree(this->uniformLocations);
|
||||
rwFree(this->serialNums);
|
||||
rwFree(this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user