From bdcb16e7bbbc216ad70686047e7fa5fee4e70fd0 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 22 Sep 2019 21:47:19 +0200 Subject: Review PR and comments --- src/models.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/models.c') diff --git a/src/models.c b/src/models.c index 3e0cce44..90f3290a 100644 --- a/src/models.c +++ b/src/models.c @@ -2921,7 +2921,8 @@ static Model LoadOBJ(const char *fileName) tinyobj_attrib_free(&attrib); tinyobj_shapes_free(meshes, meshCount); tinyobj_materials_free(materials, materialCount); - RL_FREE(data); // oh ray how did you miss this...! :-p + + RL_FREE(data); } // NOTE: At this point we have all model data loaded -- cgit v1.2.3