diff --git a/Code/Mantid/Framework/Kernel/src/ConfigService.cpp b/Code/Mantid/Framework/Kernel/src/ConfigService.cpp index 331a69cee57bd35cbd28f2d0c1247691257fae88..e16793889758d960b58449a534da098a859bbdb2 100644 --- a/Code/Mantid/Framework/Kernel/src/ConfigService.cpp +++ b/Code/Mantid/Framework/Kernel/src/ConfigService.cpp @@ -323,6 +323,8 @@ void ConfigServiceImpl::configureLogging() // Clear the path; this will make it use the default m_logFilePath = ""; } + else + fclose(fp); } catch (std::exception &) { diff --git a/Code/Mantid/Framework/Kernel/src/System.cpp b/Code/Mantid/Framework/Kernel/src/System.cpp index 35872a2a62be3e08df2df1043200f8e972d38960..78189c72219deb4c238c8c67335305bbadbb7faf 100644 --- a/Code/Mantid/Framework/Kernel/src/System.cpp +++ b/Code/Mantid/Framework/Kernel/src/System.cpp @@ -60,6 +60,7 @@ Mantid::Kernel::RegistrationHelper::RegistrationHelper(int) */ std::string Mantid::Kernel::getDirectoryOfExecutable() { + //std::cout << "getDirectoryOfExecutable is " << Poco::Path(getPathToExecutable()).parent().toString() << std::endl return Poco::Path(getPathToExecutable()).parent().toString(); }