mirror of
https://github.com/SciresM/hactool
synced 2024-11-22 20:13:08 +00:00
nax0: Close file descriptor in nax0_save() when done with it
Avoids a resource leak.
This commit is contained in:
parent
17ada97b05
commit
ff6c8eba11
1 changed files with 1 additions and 0 deletions
1
nax0.c
1
nax0.c
|
@ -147,6 +147,7 @@ void nax0_save(nax0_ctx_t *ctx) {
|
|||
ofs += read_size;
|
||||
}
|
||||
|
||||
fclose(f_dec);
|
||||
free(buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue