Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 85daa92ad6c08971e71ba0c83818ebc4f188d9d8
Ticket: 990453ffffffffffffffffffffffffffffffffff
leaking mutexes on Unix
User & Date: mistachkin on 2004-07-13 20:45:10
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The code in TclpFinalizeMutex on Unix currently reads:
    
        if (pmutexPtr != NULL) {
    ckfree((char *)pmutexPtr);
    *mutexPtr = NULL;
        }
    
    It should read:
    
        if (pmutexPtr != NULL) {
    pthread_mutex_destroy(pmutexPtr);
    ckfree((char *)pmutexPtr);
    *mutexPtr = NULL;
        }
    
    This change fixes quite a few memory leaks in HEAD.  I
    believe this fix should be backported to
    core-8-4-branch as well.
    
    
  4. foundin changed to: "obsolete: 8.4.6"
  5. priority changed to: "7 High"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mistachkin"
  9. subsystem changed to: "49. Threading"
  10. title changed to: "leaking mutexes on Unix"
  11. type changed to: "Bug"