diff --git a/examples/shaders/shaders_mesh_instancing.c b/examples/shaders/shaders_mesh_instancing.c index 339b9379..8be57672 100644 --- a/examples/shaders/shaders_mesh_instancing.c +++ b/examples/shaders/shaders_mesh_instancing.c @@ -217,6 +217,12 @@ int main(void) // De-Initialization //-------------------------------------------------------------------------------------- + // Free allocated matrices + RL_FREE(rotations); + RL_FREE(rotationsInc); + RL_FREE(translations); + RL_FREE(transforms); + CloseWindow(); // Close window and OpenGL context //--------------------------------------------------------------------------------------