Tcl Source Code

View Ticket
Login
Ticket UUID: 3607246
Title: TclInvalidateCmdLiteral breaks literal refcounting
Type: Bug Created on: 2013-03-07 21:08:10
Submitter: dgp Assigned to: dgp
Subsystem: 47. Bytecode Compiler Severity:
Priority: 5 Medium Last modified: 2013-03-11 19:55:51
Status: Closed Closed by: dgp
Resolution: Fixed Closed on: 2013-03-11 12:55:51
Version: current: 8.6.0
Description:
New-ish routine added in checkin

http://core.tcl.tk/tcl/info/5ba2c5ac72bc06ed0e883e0102a9e14b098c128c

calls on TclCreateLiteral() which can have the
effect of incrementing the refcount of the
literal in the global table.  There's no matching
TclReleaseLiteral() call anywhere.
User Comments:
dgp added on 2013-03-08 04:16:52:
Branch bug-3607246 holds what I think is the proper fix.

dkf added on 2013-03-09 21:18:10:
I do not remember the original patch. I trust you.

dgp added on 2013-03-11 19:55:51:

allow_comments - 1

fixed for 8.6.1.