content_file_init_extract - cleanup

This commit is contained in:
twinaphex 2019-05-29 16:35:51 +02:00
parent 559669fc4a
commit 6c5d08d893

View File

@ -525,14 +525,15 @@ static bool content_file_init_extract(
free(temp_content); free(temp_content);
if (!string_list_append(content_ctx->temporary_content,
new_path, *attr))
{ {
free(new_path); bool append_success = string_list_append(content_ctx->temporary_content,
return false; new_path, *attr);
}
free(new_path); free(new_path);
if (!append_success)
return false;
}
} }
} }