mirror of
https://github.com/aap/librw.git
synced 2024-11-25 13:15:43 +00:00
fix memory leak
This commit is contained in:
parent
11104a16d2
commit
e9e2488834
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user