summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-07 12:36:18 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-07 12:36:18 +0200
commit2f282692b572f25395aef6cfb6d656105c564a5e (patch)
treeec587dec43a9048c305881ab48a8538a369276bb /syslogd.c
parent833f4642621699890d05c041d3ace5de24f369ba (diff)
downloadrsyslog-2f282692b572f25395aef6cfb6d656105c564a5e.zip
rsyslog-2f282692b572f25395aef6cfb6d656105c564a5e.tar.gz
rsyslog-2f282692b572f25395aef6cfb6d656105c564a5e.tar.xz
cleanup; var object was not dereferenced on termination
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/syslogd.c b/syslogd.c
index 97d700f..4d9f825 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -1056,7 +1056,6 @@ finalize_it:
if(pVM != NULL)
vm.Destruct(&pVM);
-RUNLOG_VAR("%p", var);
if(pResult != NULL)
var.Destruct(&pResult);
@@ -2900,6 +2899,7 @@ GlobalClassExit(void)
objRelease(conf, CORE_COMPONENT);
objRelease(expr, CORE_COMPONENT);
objRelease(vm, CORE_COMPONENT);
+ objRelease(var, CORE_COMPONENT);
objRelease(datetime, CORE_COMPONENT);
/* TODO: implement the rest of the deinit */
@@ -2925,10 +2925,7 @@ GlobalClassExit(void)
CHKiRet(templateInit());
#endif
/* dummy "classes */
-dbgprintf("pre strExit()\n");
strExit();
-dbgprintf("post strExit()\n");
-
#if 0
CHKiRet(objGetObjInterface(&obj)); /* this provides the root pointer for all other queries */