Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 26a5e3540e0a2e9ce443450ba944a4b0a43c9a82
Ticket: 1083082fffffffffffffffffffffffffffffffff
Memory leak at startup
User & Date: pointsman on 2004-12-14 04:23:55
Changes

  1. icomment:
    Logged In: YES 
    user_id=13222
    
    Hey! Now, at least for the given very simple test script
    with only the exit trick from above, tcl cleans up *all*
    memory after itself.
    
    That's what valgrind say:
    
     ==24057== ERROR SUMMARY: 0 errors from 0 contexts
    (suppressed: 26 from 2)
    ==24057== malloc/free: in use at exit: 0 bytes in 0 blocks.
    ==24057== malloc/free: 5954 allocs, 5954 frees, 393712 bytes
    allocated.
    ==24057== For counts of detected errors, rerun with: -v
    ==24057== No malloc'd blocks -- no leaks are possible.
    
    Great!
    
    
  2. login: "pointsman"
  3. mimetype: "text/plain"
  4. username: "pointsman"