diff --git a/src/util/gamedata.c b/src/util/gamedata.c index 242c5e717..4dc334cc8 100644 --- a/src/util/gamedata.c +++ b/src/util/gamedata.c @@ -51,7 +51,6 @@ int gamedata_openfile(gamedata *data, const char *filename, const char *mode, in if (err) { log_error("could not open %s: %s", filename, strerror(errno)); fclose(F); - free(data); } else { storage *store = malloc(sizeof(storage));