Overview
| Artifact ID: | 85daa92ad6c08971e71ba0c83818ebc4f188d9d8 |
|---|---|
| Ticket: | 990453ffffffffffffffffffffffffffffffffff
leaking mutexes on Unix |
| User & Date: | mistachkin on 2004-07-13 20:45:10 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- 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. - foundin changed to: "obsolete: 8.4.6"
- priority changed to: "7 High"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mistachkin"
- subsystem changed to: "49. Threading"
- title changed to: "leaking mutexes on Unix"
- type changed to: "Bug"