From 9c66e2f97ed02338b6a79b12ca638b3a49f5e41d Mon Sep 17 00:00:00 2001 From: Anilforextra Date: Mon, 4 Apr 2022 14:17:46 +0545 Subject: [Examples] Free Allocated Matrices. (#2425) --- examples/shaders/shaders_mesh_instancing.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 //-------------------------------------------------------------------------------------- -- cgit v1.2.3