projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba04453
)
Call cf_section_parse_free before calling the module detach
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 18 Feb 2013 19:01:56 +0000
(14:01 -0500)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 18 Feb 2013 19:01:56 +0000
(14:01 -0500)
src/main/modules.c
patch
|
blob
|
history
diff --git
a/src/main/modules.c
b/src/main/modules.c
index
f28f041
..
964b6c8
100644
(file)
--- 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);
}