Bug 280844

Summary: PATCH: Fixing memory leak in wv2
Product: [Applications] calligrawords Reporter: Thomas Fischer <fischer>
Component: docAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: matus.uzak
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: fixes a memory leak in wv2/src/fields.cpp

Description Thomas Fischer 2011-08-26 17:23:24 UTC
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
Comment 1 Matus Uzak 2011-09-06 18:00:26 UTC
Going to commit tomorrow.  Thanks for the patch Thomas.
Comment 2 Matus Uzak 2011-09-07 09:07:50 UTC
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