fix memory leak

This commit is contained in:
aap 2021-01-20 18:47:37 +01:00
parent 11104a16d2
commit e9e2488834

View File

@ -38,6 +38,7 @@ freeInstanceData(Geometry *geometry)
rwFree(header->indexBuffer); rwFree(header->indexBuffer);
rwFree(header->vertexBuffer); rwFree(header->vertexBuffer);
rwFree(header->attribDesc); rwFree(header->attribDesc);
rwFree(header->inst);
rwFree(header); rwFree(header);
} }