Overview
| Artifact ID: | 0ad1d5763b18817d9da3c046f8ef39c9586936ce33777f6121828275a2a01c78 |
|---|---|
| Ticket: | 3595762fffffffffffffffffffffffffffffffff
Extra Tcl_DecrRefCount in Tcl_LSearchjObjCmd |
| User & Date: | jan.nijtmans on 2026-10-13 12:27:36 |
Changes
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2461327.0191766666"
- closer changed to: "jan.nijtmans"
- comment changed to:
There is a Tcl_DecrRefCount (patObj) (~line 3425 of TclCmdIL.c) which does not seem to have a matching Tcl_IncrRefCount. patObj is not newly allocated, it is equated to objv[...] on line 3197. I don't know how to exercise that code, because I don't think the enclosing Tcl_RegExpExecObj call enclosing it can actually fail, the regexp having been already successfully compiled before without errors further up in the code. So in that sense it might be dead code but still... /Ashok
- icomment:
Fixed in [cd129688d2|trunk], core-9-0-branch and core-8-6-branch
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- severity changed to: "Minor"
- status changed to: "Closed"