fix mem leak

This commit is contained in:
aap 2021-07-15 21:02:00 +02:00
parent b164e49dcf
commit 5ac21e0f2f

View File

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