diff options
| author | Anilforextra <[email protected]> | 2022-04-04 14:17:46 +0545 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-04-04 10:32:46 +0200 |
| commit | 9c66e2f97ed02338b6a79b12ca638b3a49f5e41d (patch) | |
| tree | a6e7db5e2efaefb722feea77535b3889a3d48a02 | |
| parent | c064eefe26ce1aaf54e665997ec746fa673e237c (diff) | |
| download | raylib-9c66e2f97ed02338b6a79b12ca638b3a49f5e41d.tar.gz raylib-9c66e2f97ed02338b6a79b12ca638b3a49f5e41d.zip | |
[Examples] Free Allocated Matrices. (#2425)
| -rw-r--r-- | examples/shaders/shaders_mesh_instancing.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 //-------------------------------------------------------------------------------------- |
