memory leak in desktop-style.cpp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
David Mathog |
Bug Description
This patch closes a memory leak that passes through desktop-style.cpp. It showed up in valgrind. A very little fish from a long day of fishing!
I was looking for leaks I might have introduced with the changes I have been working on. Found a couple of minor ones in my code and fixed those (it isn't in trunk yet, so no point posting them here), but it was extremely difficult since opening the program, doing not much of anything, and closing it, results in a 0.5M line valgrind log, with 49511 loss records.
There is a really nasty set of leaks associated with nr-style.cpp/h that I could not successfully repair. Apparently there are lines of execution which pass through drawing-
tags: | added: code-quality performance |
tags: |
added: code-design removed: code-quality |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Thanks for sharing this fix.
Committed in trunk revision 13013.