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
45b3b6afceMerge [f3a2a3e79fec9840]: [f6f93c3b39] Missing refcount decrement to cleanup read space on io error. check-in2024-08-25 05:16:43eee0a9d1de[f6f93c3b39] Missing refcount decrement to cleanup read space on io error. check-in2023-12-13 16:29:49
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.