Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a98cd4b10c2b3957dffd37839d0077f4ee93513e
Ticket: 4dbdd9af1439d874381fd6fdb968bcb0d596f0bb
TclDeleteNamespaceVars leaks when unset trace revives var under deletion
User & Date: dgp on 2016-09-01 18:22:27
Changes

  1. icomment:
    
    Both leaks have the same root cause: the failure
    to unset and destroy the variable that was
    revived by the trace.
    
    This leaks both the structure used to implement
    the variable, and the value stored in that variable
    (which happened to be created as a literal in this
    example), since failure to unset left its refcount
    elevated.
    
  2. login: "dgp"
  3. mimetype: "text/plain"