1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

feature #212: Fixed minor memory leaks

This commit is contained in:
Carlos Martin and Ruben S. Montero 2010-05-14 19:40:32 +02:00 committed by Ruben S. Montero
parent 7f883c0ec1
commit 9fdbfe3a12

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();
}
/* -------------------------------------------------------------------------- */