I am pretty sure we need to delete this

This commit is contained in:
Albert Astals Cid 2011-08-22 20:40:52 +02:00
parent 0e1efa6516
commit 75cac8a3c6

View file

@ -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;