Overview
| Artifact ID: | 5a983e46203b46815e8480ecfba6ce59618a2df0 |
|---|---|
| Ticket: | 988703ffffffffffffffffffffffffffffffffff
tsdPtr->objThreadMap and data never freed in tclObj.c |
| User & Date: | vasiljevic on 2005-05-31 19:51:39 |
Changes
- icomment:
Logged In: YES user_id=95086 As I see, the core-8-4-branch does not track the debugging info about objects created in a thread, hence there is nothing to backport. Yes, it seems that this table is never garbage collected and this will result in memory leaks with debugging turned on. It is therefore correct to garbage-collect this table on thread exit. I do not think that we should ask ourselves about this being the "right thing". If the table is allocated, it must be garbage collected, regardless how or from whom it got created and/or under which circumstances. I will have to study this in some more detail because this is the first time I'm looking at that code, It must have beed added lately and I have obviously missed that. Do you see any particular hidden danger here. I do not at the first glance.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"