summaryrefslogtreecommitdiffstats
path: root/plugins/imrelp/imrelp.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-07-04 17:04:38 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-07-04 17:04:38 +0200
commit081153b99a9af8f7da1085db8de59ee2b3c2151f (patch)
tree68fbd6c64d757d3bc14245691567376f2e0cd0ac /plugins/imrelp/imrelp.c
parent9fd8415c837c95098948eb5a57ceab81b65f2121 (diff)
downloadrsyslog-081153b99a9af8f7da1085db8de59ee2b3c2151f.tar.gz
rsyslog-081153b99a9af8f7da1085db8de59ee2b3c2151f.tar.bz2
rsyslog-081153b99a9af8f7da1085db8de59ee2b3c2151f.zip
bugfix: very small memory leak in imrelp
more or less cosmetic, a single memory block was not freed, but this only happens immediately before termination (when the OS automatically frees all memory). Still an annoyance e.g. in valgrind.
Diffstat (limited to 'plugins/imrelp/imrelp.c')
-rw-r--r--plugins/imrelp/imrelp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/imrelp/imrelp.c b/plugins/imrelp/imrelp.c
index 74cfeb72..41d96fe1 100644
--- a/plugins/imrelp/imrelp.c
+++ b/plugins/imrelp/imrelp.c
@@ -516,6 +516,7 @@ CODESTARTfreeCnf
inst = inst->next;
free(del);
}
+ free(pModConf->pszBindRuleset);
ENDfreeCnf
/* This is used to terminate the plugin. Note that the signal handler blocks