.
D 2001-01-17T22:18:11
J assignee nobody
J cmimetype text/plain
J comment Running\sand\sembedded\sinterpreter\sfrom\sC++.\sThe\sfollowing\scode\sleaks\smemory.\n\n...\nwhile(1){\n\n\s\s\s\s\schar*\stheScript\s=\sGetScript();\n\s\s\s\s\sreturnLength\s=\sNPstrlen(\stheScript\s);\n\s\s\s\s\stheObj\s=\sTcl_NewUnicodeObj(theScript,\sreturnLength\s);\n\n\s\s\s\s\sTcl_EvalObjEx(theInterp,\stheObj\s,\sTCL_EVAL_DIRECT\s);\n\n}\n\n\nHowever,\sonce\syou\sswitch\sto\spre-compiling\sthe\sscripts\sinto\sbytecode\sobjects\sand\susing\sthem,\sthe\sleak\sdisappears.\sSeems\sthat\sthe\scompile\sstage\sis\snot\s100%.\n\n
J foundin obsolete:\s8.4a1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 10.\sObjects
J title Compiler\sLeaks\sMemory
J type Bug
K 229181ffffffffffffffffffffffffffffffffff
U nobody
Z a9da34d2d74e5b9cb3136a0ea5c4d855