Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Memory leak in filesystem tests

Closed / Fixed1710707fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-05-01 16:54:38
When running valgrind on the test suite, there are several memory leaks apparently related to the [glob] command.  A little bit of sleuthing reveals that
the failures are in several of the test cases
filesystem-4.* and filesystem-7.*

A valgrind report is attached.
kennykbplain2007-05-01 23:54:38
File Added - 227374: leakfs.txt
dgpplain2007-05-03 00:58:41
Logged In: YES 
user_id=80530
Originator: NO


Line 6808 of tclTest.c 
should be removed.  It is
one IncrRefCount too many.
kennykbplain2007-05-03 04:03:13
Logged In: YES 
user_id=99768
Originator: YES

Don's fix plugs the leaks, appears to introduce no new failures.  Fix committed.
Log in (anonymous is fine) to add a comment.

Attachments: