summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-13 12:48:47 +0000
committerMichael Meeks <michael.meeks@novell.com>2011-03-07 15:09:09 +0000
commitee1530a61d62054e98dda4be619d780d20aa7efb (patch)
treec30cc04682cfb2f022a1253644def5b5ef1dc2ca
parent6cf25e3d1b7eb823e2193befc816adcbb682a13b (diff)
valgrind: don't leave an evil thread running after main is completed
-rw-r--r--configmgr/source/components.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index e6cfb10314..44c2d32a92 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -595,7 +595,10 @@ Components::Components(
RTL_LOGFILE_TRACE_AUTHOR("configmgr", "sb", "end parsing");
}
-Components::~Components() {}
+Components::~Components()
+{
+ flushModifications();
+}
void Components::parseFileLeniently(
FileParser * parseFile, rtl::OUString const & url, int layer, Data & data,