mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
3587. [func] 'named -g' now checks the logging configuration but
does not use it. [RT #33473]
This commit is contained in:
@@ -767,7 +767,7 @@ isc_log_createchannel(isc_logconfig_t *lcfg, const char *name,
|
||||
break;
|
||||
|
||||
default:
|
||||
isc_mem_put(mctx, channel->name, strlen(channel->name) + 1);
|
||||
isc_mem_free(mctx, channel->name);
|
||||
isc_mem_put(mctx, channel, sizeof(*channel));
|
||||
return (ISC_R_UNEXPECTED);
|
||||
}
|
||||
|
Reference in New Issue
Block a user