D 2016-09-07T21:10:33.030 J closedate 2457639.38232674 J closer mr_calvin J icomment Thx\sDon\sfor\staking\scare\sof\sthis.\sI\scan\sconfirm\sthat\sthe\sleaks\sare\seffectively\splugged\sthis\sway\s(tested\swith\svalgrind\salso).\r\n\r\nOne\sfollow-up\squestion:\s\r\n\r\nTclDeleteNamespaceVars\sis\sfor\snamespaced\svars\sspecifically.\sProvided\sthat\san\sextension\suses\sTclInitVarHashTable\sto\sprovide\sfor\scustom\svar\stables\s(e.g.,\sfor\sobjects\swithout\snamespaces\sas\sin\sNSF/NX),\sTclDeleteVars\s(on\scleanup)\sdoes\snot\scome\swith\san\sequivalent,\snow\sfixed\slogic\sto\sdeal\swith\sreviving\sunset\straces.\s\r\n\r\nThe\sdoc\son\sTclDeleteVars\ssays\s"For\sthis\sfunction\sto\swork\scorrectly,\sit\smust\snot\sbe\spossible\sfor\sany\sof\sthe\svariables\sin\sthe\stable\sto\sbe\saccessed\sfrom\sTcl\scommands\s(e.g.\sfrom\strace\sfunctions)."\r\n\r\nMmmmh.\sSo\sfor\sextensions,\sone\sis\sleft\swith\sa\sleaking\sdelete\sprocedure\s(TclDeleteVars)? J login mr_calvin J mimetype text/plain K 4dbdd9af1439d874381fd6fdb968bcb0d596f0bb U mr_calvin Z f9fac759df5e0df21bb3ff307f35e6f6