Overview
| Comment: | fix mem-leak originating by cyclic reference `rcPtr->name (type "channel", its refCount may be larger than 1) => statPtr => chanPtr => chanPtr->instanceData => refChan`: this would avoid that object rcPtr->name (name of channel that gets deleted or dead) still holds the reference to statPtr, see 2nd part of bug [79474c58800cdf94]. |
|---|---|
| Timelines: | family | ancestors | descendants | both | fix-79474c58800cdf94 |
| Files: | files | file ages | folders |
| SHA3-256: |
47cb98a686c4276bab91492c7a31265a |
| User & Date: | sebres on 2024-05-16 20:28:04.907 |
| Other Links: | branch diff | manifest | tags |
References
|
2024-05-16
| ||
| 20:32 | • Ticket [79474c5880] refchan segfault status still Pending with 3 other chang... artifact: 54d870750e user: sebres | |
Context
|
2024-05-17
| ||
| 11:48 | Free ChannelState.chanMsg .unreportedMsg closed check-in: f37f5aac4c user: apnadkarni tags: apn-channelstate-leak | |
| 09:51 | fixes yet another segfault (if write handler doesn't generate an error, but returns normally with le... check-in: 2c48f0c544 user: sebres tags: fix-79474c58800cdf94 | |
|
2024-05-16
| ||
| 20:28 | fix mem-leak originating by cyclic reference `rcPtr->name (type "channel", its refCount may be large... check-in: 47cb98a686 user: sebres tags: fix-79474c58800cdf94 | |
| 12:43 | A couple of tiny code style improvements check-in: d886cbe9b6 user: dkf tags: fix-79474c58800cdf94 | |
Changes
Modified generic/tclIORChan.c
from [e1c4967a23]
to [3aaeecbfa9].
[diff]
Modified tests/ioCmd.test
from [a23d250eb5]
to [8ee63ab555].
[diff]