mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-11 02:30:44 -04:00
Move matching isc_mem_destroy() outside of ifdef
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.
This commit is contained in:
parent
227add4c3e
commit
2ebcafd8c2
1 changed files with 1 additions and 1 deletions
|
|
@ -674,8 +674,8 @@ printversion(bool verbose) {
|
|||
}
|
||||
cfg_obj_destroy(parser, &config);
|
||||
cfg_parser_destroy(&parser);
|
||||
isc_mem_detach(&mctx);
|
||||
#endif /* HAVE_GEOIP2 */
|
||||
isc_mem_detach(&mctx);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue