Fix leak. Fixes #1142.

This commit is contained in:
Alcaro 2014-10-13 19:48:50 +02:00
parent 26ceac8bf7
commit 530d64178a

1
file.c
View File

@ -288,6 +288,7 @@ bool load_state(const char *path)
for (i = 0; i < num_blocks; i++)
free(blocks[i].data);
free(blocks);
free(buf);
return ret;
}