diff --git a/src/storage/datastorage.c b/src/storage/datastorage.c index 7e6da46..1e2a5ac 100644 --- a/src/storage/datastorage.c +++ b/src/storage/datastorage.c @@ -1332,8 +1332,8 @@ void insert_macs_from_file() { } } - fclose(fp); dawn_unregmem(fp); + fclose(fp); if (line) { free(line);