Tk Source Code

View Ticket
Login
Ticket UUID: 220385
Title: Tk8.0.3 'wm iconname' memory leak
Type: Bug Version: obsolete: 8.0.4
Submitter: welch Created on: 2000-10-31 23:16:13
Subsystem: 65. Generic Window Operations Assigned To: nobody
Priority: 2 Severity:
Status: Closed Last Modified: 2000-11-01 06:18:05
Resolution: Fixed Closed By: welch
    Closed on: 2000-10-31 23:18:05
Description:
OriginalBugID: 728 Bug
Version: 8.0.4
SubmitDate: '1998-10-13'
LastModified: '1998-10-13'
Severity: MED
Status: Released
Submitter: admin
ChangedBy: rjohnson
OS: All
OSVersion: NA
Machine: NA
FixedDate: '1998-10-13'
FixedInVersion: NA


This was fixed by a patch someone else submitted. (RJ)


There is a memory leak in 'wm iconname', so that the following
self-reposting code continuously increases the heap size of the
process:

#! /bin/sh
# exec wish $0

wm geometry . 0x0+0+0
wm iconify .
proc daemon {} {
wm iconname . gag
after 10 daemon ;# so that heap grows faster !!!
}
daemon