summaryrefslogtreecommitdiffstats
path: root/gss-misc.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-12 11:02:10 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-12 11:02:10 +0000
commit9ddee5b38772f42f4371c6828a832f0d6267251d (patch)
tree77dc280cc85b085bd4f1a631f86f9035f6b27010 /gss-misc.c
parent7bd24b3576dc085db1c15d40428a238809a912c1 (diff)
downloadrsyslog-9ddee5b38772f42f4371c6828a832f0d6267251d.zip
rsyslog-9ddee5b38772f42f4371c6828a832f0d6267251d.tar.gz
rsyslog-9ddee5b38772f42f4371c6828a832f0d6267251d.tar.xz
class exit function was missing, causing segfault
Diffstat (limited to 'gss-misc.c')
-rw-r--r--gss-misc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gss-misc.c b/gss-misc.c
index 01d6833..a80f2e6 100644
--- a/gss-misc.c
+++ b/gss-misc.c
@@ -259,6 +259,16 @@ finalize_it:
ENDobjQueryInterface(gssutil)
+/* exit our class
+ * rgerhards, 2008-03-10
+ */
+BEGINObjClassExit(gssutil, OBJ_IS_LOADABLE_MODULE) /* CHANGE class also in END MACRO! */
+CODESTARTObjClassExit(gssutil)
+ /* release objects we no longer need */
+ objRelease(errmsg, CORE_COMPONENT);
+ENDObjClassExit(gssutil)
+
+
/* Initialize our class. Must be called as the very first method
* before anything else is called inside this class.
* rgerhards, 2008-02-29
@@ -274,6 +284,7 @@ ENDObjClassInit(gssutil)
BEGINmodExit
CODESTARTmodExit
+ gssutilClassExit();
ENDmodExit