Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d44922c8cb03886e8d1dd8e58774d2c215e04651
Ticket: 3386721fffffffffffffffffffffffffffffffff
leak in tcltest
User & Date: ferrieux on 2011-08-10 17:57:44
Changes

  1. icomment:
    Ah, I realize now that the Init func of a package is supposed to be called once for each interp it is loaded in ... so clearly the fault here is the init proc's, which is not designed for this multiple-interp setup. 
    Fix: move the varPtr array from static to per-interp storage. Never done this myself, appreciate a hand.
    Also, verify similar behavior in tons of other Tcltest subpackages ?
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"