mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-09 23:01:55 +00:00
Don't free buffer of another scope (#401)
This commit is contained in:
parent
d90ddd6cf8
commit
3bc866b623
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue