Clarity of the ListObj.3 man page
Closed / Fixed219039ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:09:47
OriginalBugID: 4080 RFE Version: 8.1.1 SubmitDate: '2000-01-24' LastModified: '2000-02-05' Severity: LOW Status: Released Submitter: techsupp ChangedBy: hobbs OS: BSD FixedDate: '2000-02-05' FixedInVersion: 8.3 ClosedDate: '2000-10-25' Name: Robert Hare Comments: Not critical, but it might save someone else some headaches. DesiredBehavior: Add a note to the ListObj.3 man page that the objv array returned by Tcl_ListObjGetElements is *NOT* to be freed. I did not realize that it was returning the internal array pointer. This causes memory problems if you free this pointer . :-) It just isn't very clear from the man page that it is not allocating an array of *Tcl_Objs that you need to free. It was clarified for 8.3.0 to note that the caller should not free the memory returned in the array pointer. -- 01/25/2000 hobbs
welch Closed ticket [219039ffff].
[History diff]2000-10-26 08:34:05
dgp Ticket [219039ffff]: 3 changes
[History diff]2001-04-04 13:01:01
Log in (anonymous is fine) to add a comment.