summaryrefslogtreecommitdiff
path: root/src/or/torcert.c
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2018-06-23 03:40:32 +0200
committerAlexander Færøy <ahf@torproject.org>2018-06-23 03:40:32 +0200
commitce5d055ed7e4d8e5d1c0b0b922738c87b6a8da1c (patch)
tree240b2b139e1a3b89e0d50ac03a59970124a1dfa8 /src/or/torcert.c
parent6107a2127bf33059fb27fe0a57f24f1b21ef51aa (diff)
downloadtor-ce5d055ed7e4d8e5d1c0b0b922738c87b6a8da1c.tar.gz
tor-ce5d055ed7e4d8e5d1c0b0b922738c87b6a8da1c.zip
Fix memory leak in pick_hsdir_v3().
This patch fixes a memory leak in pick_hsdir_v3() where we might return early, but forgot to free the responsible_hsdirs variable. We solve this by not allocating storage for responsible_hsdirs until it's actually needed. See: Coverity CID 1437449
Diffstat (limited to 'src/or/torcert.c')
0 files changed, 0 insertions, 0 deletions