Overview
| Artifact ID: | d6999ac188ea9d4cbfee71693ec6c9817dfdb365 |
|---|---|
| Ticket: | 1049909fffffffffffffffffffffffffffffffff
Obj Memory Leak |
| User & Date: | jslisong on 2004-10-19 09:50:25 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
sorry my poor english. but i think that follow funtion in tclobj.c need to add some code to avoid memory leak. void TclFinalizeCompExecEnv() { register Tcl_Obj *objPtr; Tcl_MutexLock(&tableMutex); if (typeTableInitialized) { Tcl_DeleteHashTable(&typeTable); typeTableInitialized = 0; } Tcl_MutexUnlock(&tableMutex); Tcl_MutexLock(&tclObjMutex); //{ lisong 2004-10-19 // add to fix memory leak of objptr while (tclFreeObjList != NULL) { objPtr = tclFreeObjList; tclFreeObjList = objPtr- >internalRep.otherValuePtr; } free(objPtr); //}lisong Tcl_MutexUnlock(&tclObjMutex); TclFinalizeCompilation(); TclFinalizeExecution(); } - foundin changed to: "obsolete: 8.4.7"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "jslisong"
- subsystem changed to: "10. Objects"
- title changed to: "Obj Memory Leak"
- type changed to: "Bug"