2
0
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:
Mark Andrews
2013-06-06 11:08:16 +10:00
parent 7ee225cf90
commit 8144dc702b
5 changed files with 163 additions and 45 deletions

View File

@@ -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);
}