From: Wouter Wijngaards Date: Tue, 13 Jun 2017 07:10:58 +0000 (+0000) Subject: - Fix #1279: Memory leak on reload when python module is enabled. X-Git-Tag: release-1.6.4rc1~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca8d0a0e92a73b04a257a05206bf65e164a0e55a;p=thirdparty%2Funbound.git - Fix #1279: Memory leak on reload when python module is enabled. git-svn-id: file:///svn/unbound/trunk@4220 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 952ff7d19..fc2a67724 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +13 June 2017: Wouter + - Fix #1279: Memory leak on reload when python module is enabled. + 12 June 2017: Wouter - Fix #1278: Incomplete wildcard proof. diff --git a/util/config_file.c b/util/config_file.c index 808a36776..d0fdb2daa 100644 --- a/util/config_file.c +++ b/util/config_file.c @@ -1221,6 +1221,7 @@ config_delete(struct config_file* cfg) free(cfg->version); free(cfg->module_conf); free(cfg->outgoing_avail_ports); + free(cfg->python_script); config_delstrlist(cfg->caps_whitelist); config_delstrlist(cfg->private_address); config_delstrlist(cfg->private_domain);