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