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_3_0_0_beta1~1038 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a62dadb238bbd6ab19efeb009fbef0bb49aaf73;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 f28f0419cf4..964b6c844a9 100644 --- a/src/main/modules.c +++ b/src/main/modules.c @@ -424,6 +424,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); }