View Ticket
Not logged in
Ticket UUID: e6477e1b0f5e8cb323c977cdda024e078c62a256
Title: memleak in iocmd-11.4
Type: Bug Version: trunk
Submitter: dgp Created on: 2014-07-21 14:18:02
Subsystem: 01. Notifier Assigned To: dgp
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2014-07-21 14:37:00
Resolution: Fixed Closed By: dgp
    Closed on: 2014-07-21 14:37:00
Description:
Starting with checkin

http://core.tcl.tk/tcl/info/e733a91cdb

a valgrind of test iocmd-11.4 reports
a memory leak in the child process.

==29751== 88 (48 direct, 40 indirect) bytes in 1 blocks are definitely lost in loss record 1,103 of 2,070
==29751==    at 0x4A0610C: malloc (vg_replace_malloc.c:195)
==29751==    by 0x5D1CA6: TclpAlloc (tclAlloc.c:699)
==29751==    by 0x43D296: Tcl_Alloc (tclCkalloc.c:1059)
==29751==    by 0x5A4465: Tcl_ConditionWait (tclUnixThrd.c:541)
==29751==    by 0x5A4F9E: Tcl_InitNotifier (tclUnixNotfy.c:333)
==29751==    by 0x552F43: TclInitNotifier (tclNotify.c:136)
==29751==    by 0x4FC8FC: TclInitSubsystems (tclEvent.c:1062)
==29751==    by 0x42B2EB: Tcl_CreateInterp (tclBasic.c:477)
User Comments: dgp added on 2014-07-21 14:27:15:
Committed fix to trunk that valgrind reports
to be effective.