summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog6
-rw-r--r--plugins/imrelp/imrelp.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c7d13d6c..76253d51 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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