Tcl Source Code

View Ticket
Login
Ticket UUID: 1710707
Title: Memory leak in filesystem tests
Type: Bug Version: obsolete: 8.5a6
Submitter: kennykb Created on: 2007-05-01 16:54:38
Subsystem: 37. File System Assigned To: vincentdarley
Priority: 8 Severity:
Status: Closed Last Modified: 2007-05-03 04:03:13
Resolution: Fixed Closed By: kennykb
    Closed on: 2007-05-02 21:03:13
Description:
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.
User Comments: kennykb added on 2007-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.

dgp added on 2007-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.

kennykb added on 2007-05-01 23:54:38:

File Added - 227374: leakfs.txt

Attachments: