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