cui/source/inc/treeopt.hxx | 6 ------ 1 file changed, 6 deletions(-) New commits: commit cf4228fa0aaea82858f05848fe5a6a96b34405a0 Author: Julien Nabet <serval2...@yahoo.fr> Date: Tue Dec 19 20:53:29 2017 +0100
Revert "Related tdf#114457: fix leak in treeopt (cui)" According to Telesto's test, it's worse than before, so let's revert This reverts commit 41981d4cb48e66b6fdb32cdc3ae65632af9593dc. Change-Id: Iba2a364160816fe981de91e51487a78bd6ebe15c Reviewed-on: https://gerrit.libreoffice.org/46817 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx index 6bb74abb86eb..274076d9d99f 100644 --- a/cui/source/inc/treeopt.hxx +++ b/cui/source/inc/treeopt.hxx @@ -101,12 +101,6 @@ struct OptionsNode for ( size_t i = 0; i < m_aLeaves.size(); ++i ) delete m_aLeaves[i]; m_aLeaves.clear(); - for (auto & oneGroupLeaves : m_aGroupedLeaves) - { - for (auto const& leaf : oneGroupLeaves) - delete leaf; - oneGroupLeaves.clear(); - } m_aGroupedLeaves.clear(); } }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits