diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-20 08:02:51 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-20 08:02:51 +0200 |
commit | 0b7d60132026fea49383eac57fa732f974934371 (patch) | |
tree | 426e75b5eea4762c34f4aab308de78063e6647dc | |
parent | 911e2ec374d9911804eebf4765911654610384a0 (diff) | |
download | rsyslog-0b7d60132026fea49383eac57fa732f974934371.tar.gz rsyslog-0b7d60132026fea49383eac57fa732f974934371.tar.bz2 rsyslog-0b7d60132026fea49383eac57fa732f974934371.zip |
bugfix: small memory leak in imdiag
This does not have any practical problems associated with it, EXCECPT
that it caused almost all valgrind testbench tests to fail.
-rw-r--r-- | plugins/imdiag/imdiag.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/imdiag/imdiag.c b/plugins/imdiag/imdiag.c index 6ea615a1..09742537 100644 --- a/plugins/imdiag/imdiag.c +++ b/plugins/imdiag/imdiag.c @@ -390,6 +390,7 @@ finalize_it: if(pOurTcpsrv != NULL) tcpsrv.Destruct(&pOurTcpsrv); } + free(pNewVal); RETiRet; } |