|
2002-03-06
| ||
| 22:06 | • Closed ticket [524802ffff]: TclDecrRefCount macro op order plus 8 other chan... artifact: 4aa9985fc9 user: msofer | |
|
2002-03-02
| ||
| 22:32 | • Ticket [524802ffff]: 4 changes artifact: 810fcdafb7 user: msofer | |
| 22:32 | • Add attachment tclInt.h.diff to ticket [524802ffff] artifact: f6d739e0e4 user: msofer | |
| 15:32 | • New ticket [524802ffff] TclDecrRefCount macro op order. artifact: fe3b596b82 user: msofer | |
TclDecrRefCount macro op order
Closed / Accepted524802ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-03-02 15:32:19
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.
msoferplain2002-03-02 22:32:19
File Added - 18706: tclInt.h.diff
msoferplain2002-03-06 22:06:02
Logged In: YES user_id=148712 Committed.
Log in (anonymous is fine) to add a comment.
Attachments:
- tclInt.h.diff [download] added by msofer on 2002-03-02 22:32:19. [details]