diff --git a/libs/picomodel/picomodel.c b/libs/picomodel/picomodel.c index b8f185cd..8fad3383 100644 --- a/libs/picomodel/picomodel.c +++ b/libs/picomodel/picomodel.c @@ -151,7 +151,6 @@ picoModel_t *PicoModuleLoadModel( const picoModule_t* pm, char* fileName, picoBy /* use loader provided by module to read the model data */ picoModel_t* model = pm->load( fileName, frameNum, buffer, bufSize ); if ( model == NULL ) { - _pico_free_file( buffer ); return NULL; }