79612305

Date: 2025-05-08 11:57:24
Score: 1.5
Natty:
Report link

You only need to call Tcl_IncrRefCount() if you're holding onto the Tcl_Obj* beyond the function scope or storing it somewhere Tcl doesn't track.

If you're creating it and immediately passing it to interpreter or returning it, you don't need to do anything, Tcl owns the reference.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shelton Liu