Overview
| Artifact ID: | 7cb360a7ce2c4a71132973c3e9668ece55fae828 |
|---|---|
| Ticket: | 983660ffffffffffffffffffffffffffffffffff
Leak of unshared literals at interp deletion |
| User & Date: | msofer on 2004-07-04 07:19:17 |
Changes
- icomment:
Logged In: YES user_id=148712 Comments that are probably relevant: (1) in tclLiteral.c (l 448, TclAddLiteralObj): the literalis *not* added to the literal tables, only to the literal array (2) in tclCompile.c (l 661, TclCleanupByteCode): if the interp is marked as deleted, it will already have cleaned up all literals so we refrain from doing it again (3) in tclBasic.c (l 1112, DeleteInterpProc): interp deletion cleans up all literals in the literal table So it looks like the returnOptions added to the literal array (but not to the table) at line 2593 in tclCompCmds.c (TclCompileReturnCmd) is bypassed by the cleanup process.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"