Skip to content
Tcl Source Code View Ticket
Login

View Ticket

possible refcount mismatch

Closed / Fixed1667990fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-02-24 19:25:47
Comparing NewReflectedChannel()
and FreeReflectedChannel(), it
appears that the
Tcl_IncrRefCount() call on
line 1864 of Revision 1.19
of tclIORChan.c doesn't
have any balancing call
to Tcl_DecrRefCount().
andreas_kupriesplain2007-02-27 06:08:10
Logged In: YES 
user_id=75003
Originator: NO

I agree. The handle obj has no matching DecrRefcount. I had to go over the various array sizes again to see it.
andreas_kupriesplain2007-02-27 06:28:46
Logged In: YES 
user_id=75003
Originator: NO

Committed a fix. Testsuite is does not report crashes or other errors.
Log in (anonymous is fine) to add a comment.