From: <no...@so...> - 2002-06-15 21:07:05
|
Bugs item #521946, was opened at 2002-02-23 18:34 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112997&aid=521946&group_id=12997 Category: 62. Tk_Win Functions Group: 8.4a4 >Status: Closed Resolution: None Priority: 3 Submitted By: Mo DeJong (mdejong) Assigned to: Jeffrey Hobbs (hobbs) Summary: Set widget pathName to NULL on destroy Initial Comment: A detailed description of what lead up to this patch can be found here: http://groups.google.com/groups?hl=en&threadm=3C75D7AB.C67D965B%40nospam.com&rnum=1&prev=/groups%3Fq%3DTk_Window%2BMo%2Bgroup:comp.lang.tcl%26hl%3Den%26scoring%3Dr%26selm%3D3C75D7AB.C67D965B%2540nospam.com%26rnum%3D1 I ran the Tk test suite with this patch applied and it did not seem to cause any problems. Another approach might be to copy the window path name and create another function to "really" free up a Tk_FakeWin pointer after the last call to Tcl_Release(). See the comp.lang.tcl post for more about that option. ---------------------------------------------------------------------- >Comment By: Mo DeJong (mdejong) Date: 2002-06-15 14:07 Message: Logged In: YES user_id=90858 I can't imagine a situation where this patch could hurt since all it could do it keep the user from accessing bad memory. Checked in on 2002-06-14. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112997&aid=521946&group_id=12997 |