mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Merge branch 'maint-0.2.9'
This commit is contained in:
commit
59a78187cd
4
changes/bug20401
Normal file
4
changes/bug20401
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
o Minor bugfixes (relay):
|
||||||
|
- Avoid a small memory leak when informing worker threads about rotated
|
||||||
|
onion keys. Fixes bug 20401; bugfix on 0.2.6.3-alpha.
|
||||||
|
|
@ -168,6 +168,7 @@ update_state_threadfn(void *state_, void *work_)
|
|||||||
server_onion_keys_free(state->onion_keys);
|
server_onion_keys_free(state->onion_keys);
|
||||||
state->onion_keys = update->onion_keys;
|
state->onion_keys = update->onion_keys;
|
||||||
update->onion_keys = NULL;
|
update->onion_keys = NULL;
|
||||||
|
worker_state_free(update);
|
||||||
++state->generation;
|
++state->generation;
|
||||||
return WQ_RPL_REPLY;
|
return WQ_RPL_REPLY;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user