Commit ca831f0
Fix further leak of tdata (pjsip#4878)
The leak happens when
1. send_buf_pending is already in use
2. ssock_on_data_sent calls flush_circ_buf_output
3. send_buf_pending gets overwritten -> previous data in
send_buf_pending is lost forever, its callback is never called, and
therefore the reference to the tdata it contains is never
decremented, preventing transport destruction1 parent 6102700 commit ca831f0
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | | - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
588 | 590 | | |
589 | 591 | | |
590 | 592 | | |
| |||
0 commit comments