mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Call dns_lib_destroy in bin/named/main.c:printversion
There were unbalanced calls to dns_lib_init and dns_lib_destroy
leading to an OpenSSL memory leak.
(cherry picked from commit 8b3c018f54)
This commit is contained in:
parent
198615faad
commit
4263afa31d
1 changed files with 1 additions and 0 deletions
|
|
@ -643,6 +643,7 @@ printversion(bool verbose) {
|
|||
isc_buffer_init(&b, buf, sizeof(buf));
|
||||
format_supported_algorithms(printit);
|
||||
printf("\n");
|
||||
dst_lib_destroy();
|
||||
} else {
|
||||
printf("DST initialization failure: %s\n",
|
||||
isc_result_totext(result));
|
||||
|
|
|
|||
Loading…
Reference in a new issue