mirror of https://github.com/aap/librw.git
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