]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: Move matching isc_mem_destroy() outside of ifdef
authorOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 16:54:02 +0000 (16:54 +0000)
committerOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 16:54:02 +0000 (16:54 +0000)
The isc_mem_create() in printversion() was created outside of an #ifdef
HAVE_GEOIP, but destroyed inside the #ifdef; move it to the outside of
the #ifdef where it belongs.

This is really a nit as we immediately exit() after printing the
versions, but I found it and it would bug me for the rest of my life.

Merge branch 'ondrej/fix-missing-isc_mem_destroy-in-printversion' into 'main'

See merge request isc-projects/bind9!9255


Trivial merge