CID 65491 double free

This commit is contained in:
Enno Rehling 2016-02-13 20:51:28 +01:00
parent d48d9a25e0
commit 98856a8e4b
1 changed files with 0 additions and 1 deletions

View File

@ -51,7 +51,6 @@ int gamedata_openfile(gamedata *data, const char *filename, const char *mode, in
if (err) { if (err) {
log_error("could not open %s: %s", filename, strerror(errno)); log_error("could not open %s: %s", filename, strerror(errno));
fclose(F); fclose(F);
free(data);
} }
else { else {
storage *store = malloc(sizeof(storage)); storage *store = malloc(sizeof(storage));