diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-08 11:57:08 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-08 11:57:08 +0200 |
commit | e2436a0104dd5e9dbe51e4d60972ccf4312a7b88 (patch) | |
tree | 48e9f30ac21ce4dd25f4a406707246e70bd9942e | |
parent | 8f3b15eba1942373cd14fbf568256abc78aa0aca (diff) | |
download | rsyslog-e2436a0104dd5e9dbe51e4d60972ccf4312a7b88.tar.gz rsyslog-e2436a0104dd5e9dbe51e4d60972ccf4312a7b88.tar.xz rsyslog-e2436a0104dd5e9dbe51e4d60972ccf4312a7b88.zip |
bugfix: omsnmp did not deref errmsg object on exit (no bad effects caused)
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | plugins/omsnmp/omsnmp.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,7 @@ --------------------------------------------------------------------------- Version 3.14.2 (rgerhards), 2008-04-?? - bugfix: segfault with expression-based filters +- bugfix: omsnmp did not deref errmsg object on exit (no bad effects caused) - some cleanup --------------------------------------------------------------------------- Version 3.14.1 (rgerhards), 2008-04-04 diff --git a/plugins/omsnmp/omsnmp.c b/plugins/omsnmp/omsnmp.c index 47afe2fd..1deb9d62 100644 --- a/plugins/omsnmp/omsnmp.c +++ b/plugins/omsnmp/omsnmp.c @@ -489,6 +489,9 @@ CODESTARTmodExit free(pszSnmpTrapOID); if (pszSyslogMessageOID != NULL) free(pszSyslogMessageOID); + + /* release what we no longer need */ + objRelease(errmsg, CORE_COMPONENT); ENDmodExit |