diff --git a/nel/src/misc/app_context.cpp b/nel/src/misc/app_context.cpp index 34d312d98..fc8c64e5f 100644 --- a/nel/src/misc/app_context.cpp +++ b/nel/src/misc/app_context.cpp @@ -135,12 +135,12 @@ CApplicationContext::~CApplicationContext() while (it != iend) { // can't use nldebug there because it'll create new displayers - std::string message = toString("Instance '%s' still allocated at %p", it->first.c_str(), it->second); + std::string message = toString("Instance '%s' still allocated at %p\n", it->first.c_str(), it->second); #ifdef NL_OS_WINDOWS OutputDebugStringW(nlUtf8ToWide(message)); #else - printf("%s\n", message.c_str()); + printf("%s", message.c_str()); #endif ++it; diff --git a/ryzom/client/src/release.cpp b/ryzom/client/src/release.cpp index ccf84af18..24783d391 100644 --- a/ryzom/client/src/release.cpp +++ b/ryzom/client/src/release.cpp @@ -704,6 +704,7 @@ void release() CIXml::releaseLibXml(); CHttpCache::release(); CStrictTransportSecurity::release(); + CCoTask::releaseInstance(); #if FINAL_VERSION // openURL ("http://ryzom.com/exit/");