From 5ac21e0f2f1cb63f6fb73da0e62d275b137260db Mon Sep 17 00:00:00 2001 From: aap Date: Thu, 15 Jul 2021 21:02:00 +0200 Subject: [PATCH] fix mem leak --- src/gl/gl3shader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gl/gl3shader.cpp b/src/gl/gl3shader.cpp index 98408a7..9569ab3 100644 --- a/src/gl/gl3shader.cpp +++ b/src/gl/gl3shader.cpp @@ -340,6 +340,7 @@ Shader::destroy(void) { glDeleteProgram(this->program); rwFree(this->uniformLocations); + rwFree(this->serialNums); rwFree(this); }