From: SourceForge.net <no...@so...> - 2003-09-20 03:56:37
|
Bugs item #802435, was opened at 2003-09-08 07:34 Message generated for change (Comment added) made by chengyemao You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=802435&group_id=12997 Category: 54. [console] Group: None Status: Open >Resolution: Fixed Priority: 7 Submitted By: Joe Mistachkin (mistachkin) Assigned to: Chengye Mao (chengyemao) Summary: memory leak in tkConsole.c... Initial Comment: The file generic/tkConsole.c has a memory leak in function ConsoleEventProc. Near line 748, the following is allocated: Tcl_DStringInit(&dString); Near line 759, there is a return statement that does not free the memory: if (consoleInterp == (Tcl_Interp *) NULL) { return; } I believe the code should be changed to: if (consoleInterp == (Tcl_Interp *) NULL) { Tcl_DStringFree(&dString); return; } ---------------------------------------------------------------------- >Comment By: Chengye Mao (chengyemao) Date: 2003-09-19 22:56 Message: Logged In: YES user_id=191079 Fixed ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=802435&group_id=12997 |