feature #212: Fixed minor memory leaks

This commit is contained in:
Carlos Martin and Ruben S. Montero authored and Ruben S. Montero committed 2010-05-14 19:40:32 +02:00
1 parent 7f883c0ec1
commit 9fdbfe3a12
1 file changed
+5
+5
View File
@@ -99,6 +99,7 @@ void Scheduler::start()
throw;
}
xmlInitParser();
// -----------------------------------------------------------
// Pools
@@ -175,6 +176,10 @@ void Scheduler::start()
am.trigger(ActionListener::ACTION_FINALIZE,0); //Cancel sched loop
pthread_join(sched_thread,0);
xmlCleanupParser();
NebulaLog::finalize_log_system();
}
/* -------------------------------------------------------------------------- */