mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 09:40:42 +01:00
fixed small memory leak
This commit is contained in:
parent
04d6e9cc01
commit
eb388d6d8a
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user