Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102312 - [PATCH] dev-libs/newt: fixes a small memory leak in the newtTextbox component
Summary: [PATCH] dev-libs/newt: fixes a small memory leak in the newtTextbox component
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Zoffoli (RETIRED)
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-08-12 19:51 UTC by Robert Gill
Modified: 2005-09-01 06:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixes a small memory leak in the newtTextbox component (newt-textbox-leakfix.patch,391 bytes, patch)
2005-08-12 19:52 UTC, Robert Gill
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Gill 2005-08-12 19:51:41 UTC
When a newtTextbox component is created using the the NEWT_FLAG_SCROLL flag and
later destroyed, the memory allocated for the scrollbar is not freed.  This
patch frees the scrollbar when the textbox component is destroyed.

Reproducible: Always
Steps to Reproduce:
Comment 1 Robert Gill 2005-08-12 19:52:22 UTC
Created attachment 65808 [details, diff]
Fixes a small memory leak in the newtTextbox component
Comment 2 Christian Zoffoli (RETIRED) gentoo-dev 2005-09-01 06:26:19 UTC
fixed in cvs, thanks.