mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Fix crash upon loading an OBJ model.
Was due to a double-free execution...
This commit is contained in:
parent
49ee6e552d
commit
608b7c3581
1 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue