nax0: Close file descriptor in nax0_save() when done with it

Avoids a resource leak.
This commit is contained in:
Lioncash 2018-08-11 21:40:05 -04:00
parent 17ada97b05
commit ff6c8eba11

1
nax0.c
View file

@ -147,6 +147,7 @@ void nax0_save(nax0_ctx_t *ctx) {
ofs += read_size;
}
fclose(f_dec);
free(buf);
}