Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2024-08-25
05:16
Merge [f3a2a3e79fec9840]: [f6f93c3b39] Missing refcount decrement to cleanup read space on io error. check-in: 45b3b6afce user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
2023-12-13
16:44 • Ticket [f6f93c3b39] memleak in test io-75.11 status still Closed with 6 othe... artifact: 36408822e9 user: oehhar
16:40 • Closed ticket [f6f93c3b39]. artifact: 936f6fee36 user: dgp
16:29
[f6f93c3b39] Missing refcount decrement to cleanup read space on io error. check-in: eee0a9d1de user: dgp tags: core-8-branch
16:00 • New ticket [f6f93c3b39] memleak in test io-75.11. artifact: fb94caa4ea user: dgp

memleak in test io-75.11

Closed / Fixedf6f93c3b39cc03ee4f8ebb4c2ce1cb1f0f7d28c3Created 3 years agoUpdated 3 years ago
Descriptionplain2023-12-13 16:00:53
$ make valgrind TESTFLAGS="-file io.test -match io-75.11"
...
==13468== 48 bytes in 1 blocks are definitely lost in loss record 2 of 2
==13468==    at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==13468==    by 0x611051: TclpAlloc (tclAlloc.c:699)
==13468==    by 0x444416: Tcl_Alloc (tclCkalloc.c:1037)
==13468==    by 0x54DACD: Tcl_ReadObjCmd (tclIOCmd.c:458)
==13468==    by 0x4354B6: Dispatch (tclBasic.c:4951)
==13468==    by 0x43553E: TclNRRunCallbacks (tclBasic.c:4991)
==13468==    by 0x434E0A: Tcl_EvalObjv (tclBasic.c:4710)
==13468==    by 0x43749E: TclEvalEx (tclBasic.c:5868)
==13468==    by 0x55B256: Tcl_FSEvalFileEx (tclIOUtil.c:1783)
==13468==    by 0x567EB7: Tcl_MainEx (tclMain.c:410)
==13468==    by 0x40FFA8: main (tclAppInit.c:94)
Referenced by2
dgpplain2023-12-13 16:40:42
Missing refcount decrement added in [eee0a9d1de].
oehharwiki2023-12-13 16:44:00

Great catch, thank you. That was me. Take care, Harald

Log in (anonymous is fine) to add a comment.