Browse Source

Correctly handle errors from file info callback

master
Christopher Snowhill 5 years ago
parent
commit
aae9bd28ed
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      psflib.c

+ 1
- 1
psflib.c View File

@@ -435,7 +435,7 @@ static int psf_load_internal( psf_load_state * state, const char * file_name )
while ( tag->next ) tag = tag->next;
while ( tag )
{
state->info_target( state->info_context, tag->name, tag->value );
if ( state->info_target( state->info_context, tag->name, tag->value ) ) goto error_free_tags;
tag = tag->prev;
}
}


Loading…
Cancel
Save