mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Merge remote-tracking branch 'tor-github/pr/1497'
This commit is contained in:
commit
6e023d5585
@ -71,6 +71,10 @@ new_fake_orcirc(channel_t *nchan, channel_t *pchan)
|
|||||||
void
|
void
|
||||||
free_fake_orcirc(or_circuit_t *orcirc)
|
free_fake_orcirc(or_circuit_t *orcirc)
|
||||||
{
|
{
|
||||||
|
if (!orcirc) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
circuit_t *circ = TO_CIRCUIT(orcirc);
|
circuit_t *circ = TO_CIRCUIT(orcirc);
|
||||||
|
|
||||||
relay_crypto_clear(&orcirc->crypto);
|
relay_crypto_clear(&orcirc->crypto);
|
||||||
|
Loading…
Reference in New Issue
Block a user