diff options
| author | Ray <raysan5@gmail.com> | 2019-09-22 21:47:19 +0200 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2019-09-22 21:47:19 +0200 |
| commit | bdcb16e7bbbc216ad70686047e7fa5fee4e70fd0 (patch) | |
| tree | fb19b799dc4ce372c14e1a3bca2faeb8154a2802 /src/models.c | |
| parent | a679b0ccc015295ed8c305605b0bf19112f949f3 (diff) | |
| download | raylib-bdcb16e7bbbc216ad70686047e7fa5fee4e70fd0.tar.gz raylib-bdcb16e7bbbc216ad70686047e7fa5fee4e70fd0.zip | |
Review PR and comments
Diffstat (limited to 'src/models.c')
| -rw-r--r-- | src/models.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
