Artifacts Associated With Ticket 1717186fffffffffffffffffffffffffffffffff
Ticket change [96dc99bc1a] (rid 106398) by afredd on 2007-05-11 12:49:48:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The listObj is not free'd in the error case where the given -command string is not a valid list: Consider: proc A {} { set lst [lrepeat 999 999] catch { lsort -command "foo \{" $lst } } while 1 { A } ;# leaks Just needs a Tcl_DecrRefCount(listObj); in the if (Tcl_ListObjAppendElement(interp, newCommandPtr, newObjPtr) != TCL_OK) block. - foundin initialized to: "obsolete: 8.5a6"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "afredd"
- subsystem initialized to: "17. Commands I-L"
- title initialized to: "lsort can leak memory in error case"
- type initialized to: "Bug"
Ticket change [fdcc548856] (rid 108477) by dkf on 2007-06-30 21:09:00:
- closedate changed to: "2007-06-30T14:09:00"
- closer changed to: "dkf"
- resolution changed to: "Fixed"
- status changed to: "Closed"