From e9e248883471604a246ab2fbfe0de81eebdf6d3b Mon Sep 17 00:00:00 2001 From: aap Date: Wed, 20 Jan 2021 18:47:37 +0100 Subject: [PATCH] fix memory leak --- src/gl/gl3pipe.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gl/gl3pipe.cpp b/src/gl/gl3pipe.cpp index c76db6e..1b07111 100644 --- a/src/gl/gl3pipe.cpp +++ b/src/gl/gl3pipe.cpp @@ -38,6 +38,7 @@ freeInstanceData(Geometry *geometry) rwFree(header->indexBuffer); rwFree(header->vertexBuffer); rwFree(header->attribDesc); + rwFree(header->inst); rwFree(header); }