From: <no...@so...> - 2002-03-02 15:37:28
|
Bugs item #524802, was opened at 2002-03-02 12:32 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=524802&group_id=10894 Category: 10. Objects Group: None Status: Open Resolution: None Priority: 5 Submitted By: miguel sofer (msofer) Assigned to: Jeffrey Hobbs (hobbs) Summary: TclDecrRefCount macro op order Initial Comment: The TclDecrRefCount macro first clears the string rep, then the internal rep. This is (a) different from the operation of Tcl_DecrRefCount (TclFreeObj), that clears the internal rep first. (b) dangerous, as some object type's internal rep might well have a reference to its string rep. Enclosed a patch that restores the correct order. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=524802&group_id=10894 |