diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-20 13:52:43 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-20 13:52:43 +0000 |
commit | eb388d6d8a16e909b0791a8148c0fbd780ddace6 (patch) | |
tree | a02e3fa618383eeb2eec2386b3efb05946d4f10e /plugins | |
parent | 04d6e9cc016dcd9dbe19083bda4bbaebaabd4f45 (diff) | |
download | rsyslog-eb388d6d8a16e909b0791a8148c0fbd780ddace6.tar.gz rsyslog-eb388d6d8a16e909b0791a8148c0fbd780ddace6.tar.bz2 rsyslog-eb388d6d8a16e909b0791a8148c0fbd780ddace6.zip |
fixed small memory leak
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/imrelp/imrelp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/imrelp/imrelp.c b/plugins/imrelp/imrelp.c index c7d6092b..01d1eae8 100644 --- a/plugins/imrelp/imrelp.c +++ b/plugins/imrelp/imrelp.c @@ -124,6 +124,8 @@ static rsRetVal addListener(void __attribute__((unused)) *pVal, uchar *pNewVal) CHKiRet(relpEngineAddListner(pRelpEngine, pNewVal)); + free(pNewVal); /* we do no longer need it */ + finalize_it: RETiRet; } |