Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8c48aec7f9ce88572bc5584d69f6857376930d2f
Ticket: 2910044fffffffffffffffffffffffffffffffff
memleak in [try]
User & Date: dgp on 2009-12-07 14:43:16
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    This came across TCLCORE (unverified):
    
    "There seems to be a memory leak in the result handler code of the C
    based try command.
    
    This leaks the result:
    
    try {
        string repeat \0 1048576
    } on ok {} {}
    
    ... this doesn't:
    
    try {
        string repeat \0 1048576
    }
    
    
    Adding Tcl_DecrRefCount(resultObj); at line 4461 of generic/tclCmdMZ.c
    fixes the leak for me."
    
    Message from [email protected]
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "18. Commands M-Z"
  11. title changed to: "memleak in [try]"
  12. type changed to: "Bug"