Memory leak in Multilineeditbox
Bug #1687043 reported by
GunChleoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
The map options window is almost unuseable. If I enter a few lines of text, the input becomes really slow (about 30 seconds per character), and eventually widelands doesn´t respond at all and I have to force-close it. The system monitor shows that widelands suddenly consumes all available RAM (2 GB) and the entire swap memory (before opening the map options it used ~20 MiB and no swap). The space isn´t freed when I close the map options dialogue, only when I exit widelands. I found this bug in current trunk (both debug and release) but not in build19.
https:/
Related branches
lp://staging/~widelands-dev/widelands/bug-1687043-multiline-edit
- Klaus Halfmann: Approve (compile, test, regressiontest)
- GunChleoc: Approve
-
Diff: 147 lines (+36/-33)2 files modifiedsrc/graphic/wordwrap.cc (+26/-32)
src/graphic/wordwrap.h (+10/-1)
summary: |
- Memory leak in Multilinetextarea + Memory leak in Multilineeditbox |
Changed in widelands: | |
status: | New → Fix Committed |
To post a comment you must log in.
Fixed in build20-rc1