Review PR and comments

This commit is contained in:
Ray 2019-09-22 21:47:19 +02:00
parent a679b0ccc0
commit bdcb16e7bb
4 changed files with 52 additions and 65 deletions

View file

@ -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