Overview
| Artifact ID: | 20be87e22f7f61cf9c3dec9cab7f3fc83dcad51d229e31dddc2417a151c4c7f4 |
|---|---|
| Ticket: | 89fbf1f86e4935a146f30dcf3829f44e90a564d5
Unclean memory handling |
| User & Date: | chrstphrchvz on 2023-10-10 07:58:29 |
Changes
- icomment:
<blockquote>I'm not sure the "reachable" warnings on an explicit exit can be treated as real leaks since the memory is still reachable as opposed to "definitely lost".</blockquote> The <tt>CFWord</tt> structures allocated by <tt>TclArgumentEnter()</tt> are definitely lost, because they become unreachable when <tt>Tcl_DeleteHashTable(iPtr->lineLAPtr)</tt> is called (for a <tt>PURIFY</tt> build) from: <pre> DeleteInterpProc (tclBasic.c:1697) Tcl_Release (tclPreserve.c:229) FreeMainInterp (tclMain.c:937) InvokeExitHandlers (tclEvent.c:911) Tcl_Finalize (tclEvent.c:1107) Tcl_Exit (tclEvent.c:968) Tcl_ExitObjCmd (tclCmdAH.c:1035) ⋮ Tcl_EvalObjv Tcl_EvalEx (tclBasic.c:5408) ⋮ </tt>
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"