summaryrefslogtreecommitdiffhomepage
path: root/src/models.c
diff options
context:
space:
mode:
authorRay <[email protected]>2020-12-01 23:23:30 +0100
committerRay <[email protected]>2020-12-01 23:23:30 +0100
commit0481053dad5f784a2aa5c25ab6d32145bbdaa4ff (patch)
tree575a974d1f82339a21fdbede7e2c8e1e43e64047 /src/models.c
parent59be7b9c2923e034f524c19f470299b8acf5e6d9 (diff)
downloadraylib-0481053dad5f784a2aa5c25ab6d32145bbdaa4ff.tar.gz
raylib-0481053dad5f784a2aa5c25ab6d32145bbdaa4ff.zip
Review for issue #1446
Diffstat (limited to 'src/models.c')
-rw-r--r--src/models.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/models.c b/src/models.c
index 04db669e..dbc58fc0 100644
--- a/src/models.c
+++ b/src/models.c
@@ -3099,7 +3099,8 @@ static Model LoadOBJ(const char *fileName)
tinyobj_shapes_free(meshes, meshCount);
tinyobj_materials_free(materials, materialCount);
- //RL_FREE(fileData);
+ RL_FREE(fileData);
+ RL_FREE(matFaces);
RL_FREE(vCount);
RL_FREE(vtCount);