mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Fix a memory leak in scheduler/loop_kist
Fixes bug 25005.
This commit is contained in:
parent
129456e222
commit
6ba2881aec
4
changes/bug25005
Normal file
4
changes/bug25005
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes (unit tests):
|
||||
- Fix a memory leak in the scheduler/loop_kist unit test. Fixes bug
|
||||
25005; bugfix on 0.3.2.7-rc.
|
||||
|
@ -864,6 +864,7 @@ test_scheduler_loop_kist(void *arg)
|
||||
tt_assert(ch3);
|
||||
ch3->magic = TLS_CHAN_MAGIC;
|
||||
ch3->state = CHANNEL_STATE_OPEN;
|
||||
circuitmux_free(ch3->cmux);
|
||||
ch3->cmux = circuitmux_alloc();
|
||||
channel_register(ch3);
|
||||
tt_assert(ch3->registered);
|
||||
|
Loading…
Reference in New Issue
Block a user