diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-13 12:48:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-13 12:48:47 +0000 |
commit | e65850b4411c59a5c664b002c6ab4ae385fd2261 (patch) | |
tree | 0e0f31226aa3bf180c5a7735ca0ec3aefebed64e /configmgr | |
parent | 257466c5cfec01370dbbfa885b46dfb39cfe2f03 (diff) |
valgrind: don't leave an evil thread running after main is completed
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/components.cxx | 5 |
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, |