fix mem leak

This commit is contained in:
aap 2021-07-15 21:02:00 +02:00
parent b164e49dcf
commit 5ac21e0f2f
1 changed files with 1 additions and 0 deletions

View File

@ -340,6 +340,7 @@ Shader::destroy(void)
{
glDeleteProgram(this->program);
rwFree(this->uniformLocations);
rwFree(this->serialNums);
rwFree(this);
}