From: Alan T. DeKok Date: Mon, 18 Feb 2013 19:01:56 +0000 (-0500) Subject: Call cf_section_parse_free before calling the module detach X-Git-Tag: release_2_2_1~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=923b6bdcc2943e91df5996377fdebc2bf0c3c91e;p=thirdparty%2Ffreeradius-server.git Call cf_section_parse_free before calling the module detach --- diff --git a/src/main/modules.c b/src/main/modules.c index 378a0eb1af6..c1a54aa2763 100644 --- a/src/main/modules.c +++ b/src/main/modules.c @@ -379,6 +379,8 @@ static void module_instance_free(void *data) module_instance_free_old(this->cs, this, time(NULL) + 100); + cf_section_parse_free(this->cs, this->insthandle); + if (this->entry->module->detach) { (this->entry->module->detach)(this->insthandle); }