Skip to content
Tcl Source Code Artifact [e68e1974c2]
Login

Artifact [e68e1974c2]

Artifact e68e1974c2ab80a5ce4000e0b543a6b1eb21fe9e:

Ticket change [e68e1974c2] - New ticket [7368d225a657380c|7368d225a6] <i>Tcl_SetVar2() leaks memory</i>. by dgp on 2014-07-10 14:40:59.
D 2014-07-10T14:40:59.134
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Tcl_SetVar2()\screates\sthe\s(Tcl_Obj)\svalue\sout\sof\r\nthe\s(const\schar\s*)\sdata\sit\sreceives,\sthen\spasses\r\nit\son\sto\sTcl_SetVar2Ex()\sto\smanage\sthe\srest\sof\sits\r\nlifetime.\s\s\r\n\r\nThis\smostly\sworks,\sso\slong\sas\sTcl_SetVar2Ex()\sstores\r\nthe\svalue\sin\sa\svariable.\r\n\r\nWhen\sflags\sincludes\sTCL_APPEND_VALUE\sand\sdoes\snot\sinclude\r\nTCL_LIST_ELEMENT\sthat\sdoes\snot\shappen\sand\sthe\smem\sleaks.\r\nThere\smay\sbe\sother\sleak\sscenarios\stoo.\r\n\r\nThe\stesting\spackage\spkgua\sexposes\sthis,\swhen\sexamined\swith\r\nvalgrind.
J foundin 8.5
J is_private 0
J login dgp
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter dgp
J subsystem 07.\sVariables
J title Tcl_SetVar2()\sleaks\smemory
J type Bug
K 7368d225a657380c364ceb3fcf814bdba374a566
U dgp
Z 2a294fe41be8ca8afc85381f9e107827