Tcl Source Code

View Ticket
Login
Ticket UUID: 1334461
Title: memory leak in generic/tclStrToD.c
Type: Bug Version: obsolete: 8.5a4
Submitter: melbardis Created on: 2005-10-21 20:03:42
Subsystem: 41. Memory Allocation Assigned To: kennykb
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2005-10-22 05:14:31
Resolution: Fixed Closed By: kennykb
    Closed on: 2005-10-21 22:14:31
Description:
memory leak in generic/tclStrToD.c due to an early exit 
from RefineApproximation when no correction is made, 
added code to release two temporaries that were 
allocated prior to this

also changed the tommath mem alloc call to ckalloc 
when searching for the leak, currently all libtommath 
mem allocs have no file or line info!
User Comments: kennykb added on 2005-10-22 05:14:30:
Logged In: YES 
user_id=99768

Both patches committed.  Thanks!

melbardis added on 2005-10-22 03:38:05:

File Deleted - 153372: 



File Added - 153380: tclStrToD.c.diff

melbardis added on 2005-10-22 03:38:04:
Logged In: YES 
user_id=788816

another leak in MakeLowPrecisionDouble

attached file with both patches

melbardis added on 2005-10-22 03:04:24:

File Added - 153372: tclStrToD.c.diff

Attachments: