hs-v3: Fix possible memory leak in error code path
commit09e6c0f7c7b91a73c73df197e45072a96240ea8d
authorDavid Goulet <dgoulet@torproject.org>
Tue, 15 Oct 2019 12:54:11 +0000 (15 08:54 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Tue, 15 Oct 2019 12:54:11 +0000 (15 08:54 -0400)
tree354a96b74ee43170dc516edca5f8e8c153e7e925
parenta4790e7d4b6ef406bf8cd14d8fd29e89f4b334ac
hs-v3: Fix possible memory leak in error code path

Found by coverity CID 1454769.

There were a second possible leak that is also fixed in this commit.

Fixes #32063

Signed-off-by: David Goulet <dgoulet@torproject.org>
changes/ticket32063 [new file with mode: 0644]
src/feature/hs/hs_cell.c