diff --git a/src/rmodels.c b/src/rmodels.c index 32ade139f..ee795dd26 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -1222,6 +1222,8 @@ void UnloadModel(Model model) // Unload animation data RL_FREE(model.skeleton.bones); RL_FREE(model.skeleton.bindPose); + RL_FREE(model.currentPose); + RL_FREE(model.boneMatrices); TRACELOG(LOG_INFO, "MODEL: Unloaded model (and meshes) from RAM and VRAM"); }