mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 15:29:59 -04:00
Memory leak plugged for log context
This commit is contained in:
parent
7d32c065c7
commit
f4e90d4323
2 changed files with 4 additions and 0 deletions
|
|
@ -1202,6 +1202,8 @@ main(int argc, char *argv[]) {
|
|||
isc_mem_free(mctx, file);
|
||||
isc_mem_free(mctx, output);
|
||||
|
||||
if (log != NULL)
|
||||
isc_log_destroy(&log);
|
||||
/* isc_mem_stats(mctx, stdout);*/
|
||||
isc_mem_destroy(&mctx);
|
||||
|
||||
|
|
|
|||
|
|
@ -1202,6 +1202,8 @@ main(int argc, char *argv[]) {
|
|||
isc_mem_free(mctx, file);
|
||||
isc_mem_free(mctx, output);
|
||||
|
||||
if (log != NULL)
|
||||
isc_log_destroy(&log);
|
||||
/* isc_mem_stats(mctx, stdout);*/
|
||||
isc_mem_destroy(&mctx);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue