]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #1279: Memory leak on reload when python module is enabled.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 13 Jun 2017 07:10:58 +0000 (07:10 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 13 Jun 2017 07:10:58 +0000 (07:10 +0000)
git-svn-id: file:///svn/unbound/trunk@4220 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/config_file.c

index 952ff7d19e8b683fd6268ba5386c64b2f312bcd3..fc2a67724e39f942f1961a066d29d5d19389b918 100644 (file)
@@ -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.
 
index 808a36776d1283d85c96d2930c221d7140710a93..d0fdb2daaa25838e82f311fdcfb79278c7105802 100644 (file)
@@ -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);