diff options
-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 |