aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_hs_client.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-08-29 18:29:05 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2017-09-15 12:46:26 +0300
commit5cc80692b8397d8b87fd69d0f0165a6156534f0b (patch)
tree39d941483b9f2f573aa437db385450be62964b31 /src/test/test_hs_client.c
parente9b4624cc589d830d7a78128649f7945ac808737 (diff)
downloadtor-5cc80692b8397d8b87fd69d0f0165a6156534f0b.tar.gz
tor-5cc80692b8397d8b87fd69d0f0165a6156534f0b.zip
prop224: Fix memleak in client_get_random_intro().
The memleak was occuring because of the way ExcludeNodes is handled in that function. Basically, we were putting excluded intro points extend infos in a special variable which was never freed. Also, if there were multiple excluded intro points then that variable was overwritten everytime leaking more memory. This commit should fix both issues.
Diffstat (limited to 'src/test/test_hs_client.c')
0 files changed, 0 insertions, 0 deletions