Bug 280844 - PATCH: Fixing memory leak in wv2
Summary: PATCH: Fixing memory leak in wv2
Status: RESOLVED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: doc (show other bugs)
Version: Git
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-26 17:23 UTC by Thomas Fischer
Modified: 2011-09-07 09:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
fixes a memory leak in wv2/src/fields.cpp (800 bytes, patch)
2011-08-26 17:23 UTC, Thomas Fischer
Details

Note You need to log in before you can comment on or make changes to this bug.
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