summaryrefslogtreecommitdiffstats
path: root/plugins/imklog/ksym_mod.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-19 17:35:09 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-19 17:35:09 +0000
commit81d32abb341f087ce6d1d05ed8ed12949a69654d (patch)
tree37c6f73664c88c1f62e82860c4b6ceb16b3f668d /plugins/imklog/ksym_mod.c
parent53cd617ee98ae15501e8f3ef8dbeb99f77715132 (diff)
downloadrsyslog-81d32abb341f087ce6d1d05ed8ed12949a69654d.tar.gz
rsyslog-81d32abb341f087ce6d1d05ed8ed12949a69654d.tar.xz
rsyslog-81d32abb341f087ce6d1d05ed8ed12949a69654d.zip
bugfix: imklog leaked several hundered KB on each HUP. Thanks to
varmojfekoj for the patch
Diffstat (limited to 'plugins/imklog/ksym_mod.c')
-rw-r--r--plugins/imklog/ksym_mod.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/imklog/ksym_mod.c b/plugins/imklog/ksym_mod.c
index a8f4790e..3c7e0e45 100644
--- a/plugins/imklog/ksym_mod.c
+++ b/plugins/imklog/ksym_mod.c
@@ -279,6 +279,12 @@ static int symsort(const void *p1, const void *p2)
}
+extern void DeinitMsyms(void)
+{
+ FreeModules();
+}
+
+
/**************************************************************************
* Function: FreeModules
*