nts: close file after loading cookies
Don't forget to close the file with cookies in ntsdumpdir if
successfully loaded.
Fixes: 2fa83b541c
("nts: save and load cookies on client")
This commit is contained in:
parent
0493abb68a
commit
4070d7ffa6
1 changed files with 2 additions and 0 deletions
|
@ -669,6 +669,8 @@ load_cookies(NNC_Instance inst)
|
|||
inst->last_nke_success = context_time + SCH_GetLastEventMonoTime();
|
||||
inst->context_id = context_id;
|
||||
|
||||
fclose(f);
|
||||
|
||||
DEBUG_LOG("Loaded %d cookies for %s", i, filename);
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue