Overview
| Artifact ID: | 97e739b5778a050807aa681576f53335f30f1421 |
|---|---|
| Ticket: | 229181ffffffffffffffffffffffffffffffffff
Compiler Leaks Memory |
| User & Date: | nobody on 2001-01-17 22:18:11 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Running and embedded interpreter from C++. The following code leaks memory. ... while(1){ char* theScript = GetScript(); returnLength = NPstrlen( theScript ); theObj = Tcl_NewUnicodeObj(theScript, returnLength ); Tcl_EvalObjEx(theInterp, theObj , TCL_EVAL_DIRECT ); } However, once you switch to pre-compiling the scripts into bytecode objects and using them, the leak disappears. Seems that the compile stage is not 100%. - foundin changed to: "obsolete: 8.4a1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "10. Objects"
- title changed to: "Compiler Leaks Memory"
- type changed to: "Bug"