Skip to content
Tcl Source Code View Ticket
Login

View Ticket

memory leak in generic/tclStrToD.c

Closed / Fixed1334461fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-10-21 20:03:42
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!
melbardisplain2005-10-22 03:04:24
File Added - 153372: tclStrToD.c.diff
melbardis Ticket [1334461fff]: 1 change [History diff]2005-10-22 03:04:52
hobbs Ticket [1334461fff]: 1 change [History diff]2005-10-22 03:06:42
kennykb Closed ticket [1334461fff]. [History diff]2005-10-22 03:31:47
melbardisplain2005-10-22 03:38:04
Logged In: YES 
user_id=788816

another leak in MakeLowPrecisionDouble

attached file with both patches
melbardisplain2005-10-22 03:38:05
File Deleted - 153372: 



File Added - 153380: tclStrToD.c.diff
melbardis Open ticket [1334461fff]. [History diff]2005-10-22 03:40:09
kennykbplain2005-10-22 05:14:30
Logged In: YES 
user_id=99768

Both patches committed.  Thanks!
kennykb Ticket [1334461fff]: 2 changes [History diff]2005-10-22 05:14:31
Log in (anonymous is fine) to add a comment.

Attachments: