From 75cac8a3c662cf4685570f548b2a1f2d4053c3c3 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 22 Aug 2011 20:40:52 +0200 Subject: [PATCH] I am pretty sure we need to delete this --- core/textpage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/textpage.cpp b/core/textpage.cpp index 602813114..2ca58aeb3 100644 --- a/core/textpage.cpp +++ b/core/textpage.cpp @@ -1796,6 +1796,7 @@ void TextPagePrivate::XYCutForBoundingBoxes(int tcx, int tcy) } //copying elements of tmp to m_words copyFromList(tmp); + qDeleteAll(words); // we are not removing tmp because, the elements of tmp are in m_XY_cut_tree, we will finally free from m_XY_cut_tree m_XY_cut_tree = tree;