summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-08 11:57:20 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-08 11:57:20 +0200
commit215d2a6d345b180b56bd0f37c0de567c7abef40f (patch)
tree3eef467a94d4adefe11ee52e7a6d6bc509167b3f /plugins
parenta629ec42ffa330f8ec9adaf9a8ba5eaa2a0367f5 (diff)
parente2436a0104dd5e9dbe51e4d60972ccf4312a7b88 (diff)
downloadrsyslog-215d2a6d345b180b56bd0f37c0de567c7abef40f.tar.gz
rsyslog-215d2a6d345b180b56bd0f37c0de567c7abef40f.tar.xz
rsyslog-215d2a6d345b180b56bd0f37c0de567c7abef40f.zip
Merge branch 'v3-stable' into beta
Diffstat (limited to 'plugins')
-rw-r--r--plugins/omsnmp/omsnmp.c3
1 files changed, 3 insertions, 0 deletions
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