diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-07-04 17:04:38 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-07-04 17:04:38 +0200 |
commit | 081153b99a9af8f7da1085db8de59ee2b3c2151f (patch) | |
tree | 68fbd6c64d757d3bc14245691567376f2e0cd0ac | |
parent | 9fd8415c837c95098948eb5a57ceab81b65f2121 (diff) | |
download | rsyslog-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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | plugins/imrelp/imrelp.c | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,4 +1,10 @@ --------------------------------------------------------------------------- +Version 7.5.3 [devel] 2013-07-?? +- 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. +--------------------------------------------------------------------------- Version 7.5.2 [devel] 2013-07-04 - librelp 1.1.4 is now required We use API extensions for better error reporting and higher performance. 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 |