mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
hs: Remove pointless NULL check found by Coverity
Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
0980787f91
commit
c82881a235
@ -1394,15 +1394,10 @@ decode_intro_points(const hs_descriptor_t *desc,
|
||||
retval = 0;
|
||||
|
||||
err:
|
||||
if (chunked_desc) {
|
||||
SMARTLIST_FOREACH(chunked_desc, char *, a, tor_free(a));
|
||||
smartlist_free(chunked_desc);
|
||||
}
|
||||
if (intro_points) {
|
||||
SMARTLIST_FOREACH(intro_points, char *, a, tor_free(a));
|
||||
smartlist_free(intro_points);
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
/* Return 1 iff the given base64 encoded signature in b64_sig from the encoded
|
||||
|
Loading…
Reference in New Issue
Block a user