Created attachment 63160 [details] fixes a memory leak in wv2/src/fields.cpp Version: svn (using KDE 4.6.3) OS: Linux Attached patch fixes a memory leak in wv2/src/fields.cpp Reproducible: Always Steps to Reproduce: Run kword or words in valgrind, open some .doc files. At least in my experiments missing to free m_bookmark was one of the largest memory holes. Actual Results: Waste of memory. Expected Results: More memory left
Going to commit tomorrow. Thanks for the patch Thomas.
Git commit ebda22a83e966b33d8d489bb65e422b439dd8ae4 by Matus Uzak. Committed on 06/09/2011 at 19:54. Pushed by uzak into branch 'master'. DOC: A memory leak fix - processing of fields in wv2. Patch by Thomas Fischer BUG:280844 M +2 -1 filters/words/msword-odf/wv2/src/fields.cpp http://commits.kde.org/calligra/ebda22a83e966b33d8d489bb65e422b439dd8ae4