mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Fix memory leak in test_sr_setup_commits().
This patch fixes a memory leak in test_sr_setup_commits() where the place_holder is allocated, but never freed again. See: Coverity CID 1437440.
This commit is contained in:
parent
3395de51a0
commit
8ec6b36dca
@ -788,6 +788,7 @@ test_sr_setup_commits(void)
|
||||
tt_assert(!commit_has_reveal_value(commit_d));
|
||||
|
||||
done:
|
||||
tor_free(place_holder);
|
||||
authority_cert_free(auth_cert);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user