Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5c8efe195f23585eb2951ca258ee0ad4597993ef
Ticket: 3394654fffffffffffffffffffffffffffffffff
leak due to non closing base of stacked channels
User & Date: dgp on 2011-08-19 23:17:40
Changes

  1. icomment:
    
    The ClientData of channel $c is leaking
    because [close $c] is not actually closing
    the channel (not calling CloseChannel(),
    thus not calling the closeProc of the driver).
    
    This is not happening because FlushChannel
    sees the channel as not having an empty
    buffer at "curOutPtr" and for reasons I don't
    understand, takes that as an indication not
    to make the close.
    
    If I disable that test in FlushChannel(), the
    leak goes away.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"