Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fe3b596b82700ca8132c2f4e488e0db4b361228b
Ticket: 524802ffffffffffffffffffffffffffffffffff
TclDecrRefCount macro op order
User & Date: msofer on 2002-03-02 15:32:19
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The TclDecrRefCount macro first clears the string rep,
    then the internal rep. This is
    
    (a) different from the operation of Tcl_DecrRefCount
    (TclFreeObj), that clears the internal rep first.
    
    (b) dangerous, as some object type's internal rep might
    well have a reference to its string rep.
    
    Enclosed a patch that restores the correct order.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "msofer"
  9. subsystem changed to: "10. Objects"
  10. title changed to: "TclDecrRefCount macro op order"
  11. type changed to: "Bug"