Bug 32260

Summary: Memory deallocation bug in libdialog
Product: Base System Reporter: Igor Pokrovsky <tiamat>
Component: gnuAssignee: ru <ru>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Igor Pokrovsky 2001-11-25 04:40:00 UTC
	I have got "out of swap space" errors, when using function 'dialog_gauge'
	from libdialog.

Fix: The only change required is to insert releasing window memory function
	(delwin(gw)) just before last line, containing 'return', of function
	'dialog_gauge'.
	Here is also the patch
How-To-Repeat: 	Try to call function 'dialog_gauge' about 100000 times, and you'll
	see how your swap size is growing. I'm using libdialog from
	4.4 STABLE (got from CVS).
Comment 1 ru freebsd_committer freebsd_triage 2001-11-29 07:41:44 UTC
State Changed
From-To: open->feedback

Committed to 5.0-CURRENT as src/gnu/lib/libdialog/gauge.c,v 1.3. 
Thanks! 


Comment 2 ru freebsd_committer freebsd_triage 2001-11-29 07:41:44 UTC
Responsible Changed
From-To: freebsd-bugs->ru

MFC glue.
Comment 3 ru freebsd_committer freebsd_triage 2001-12-01 16:08:33 UTC
State Changed
From-To: feedback->closed

Merged to 4.4-STABLE.