From 82a9a8f0cf6375f1777f385b1c7de5645071b520 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 18 Dec 2014 12:46:35 +0100 Subject: [PATCH] Fix crash in ConfigCompilerContext::WriteObject fixes #8106 --- lib/config/configcompilercontext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/config/configcompilercontext.cpp b/lib/config/configcompilercontext.cpp index ad6bd1925..6ac45a97a 100644 --- a/lib/config/configcompilercontext.cpp +++ b/lib/config/configcompilercontext.cpp @@ -96,6 +96,7 @@ void ConfigCompilerContext::WriteObject(const Dictionary::Ptr& object) void ConfigCompilerContext::FinishObjectsFile(void) { m_ObjectsFP->Close(); + m_ObjectsFP.reset(); String tempFilename = m_ObjectsPath + ".tmp";