Fix crash upon loading an OBJ model.

Was due to a double-free execution...
This commit is contained in:
Christophe Mateos 2017-01-05 22:40:14 +01:00
parent 49ee6e552d
commit 608b7c3581
1 changed files with 0 additions and 5 deletions

View File

@ -239,11 +239,6 @@ picoModel_t *PicoLoadModel( char *fileName, int frameNum ){
} }
} }
/* free memory used by file buffer */
if ( buffer ) {
_pico_free_file( buffer );
}
return model; return model;
} }