mirror of https://github.com/TTimo/GtkRadiant.git
Fix crash upon loading an OBJ model.
Was due to a double-free execution...
This commit is contained in:
parent
49ee6e552d
commit
608b7c3581
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue