- Fix #39: In libunbound, leftover logfile is close()d unpredictably.

This commit is contained in:
W.C.A. Wijngaards
2019-06-17 12:13:12 +02:00
parent 3499d3c647
commit 1ec96d8f07
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
17 June 2019: Wouter
- Master contains version 1.9.3 in development.
- Fix #39: In libunbound, leftover logfile is close()d unpredictably.
12 June 2019: Wouter
- Fix another spoolbuf storage code point, in prefetch.
+2
View File
@@ -328,6 +328,8 @@ ub_ctx_delete(struct ub_ctx* ctx)
ub_randfree(ctx->seed_rnd);
alloc_clear(&ctx->superalloc);
traverse_postorder(&ctx->queries, delq, NULL);
if(ctx->logfile_override)
log_file(NULL);
free(ctx);
#ifdef USE_WINSOCK
WSACleanup();