Fix memory link in test_link_specifier().
commitc997d49ad6e6a360323311444eed1dbee785aea4
authorAlexander Færøy <ahf@torproject.org>
Sat, 23 Jun 2018 10:39:20 +0000 (23 12:39 +0200)
committerAlexander Færøy <ahf@torproject.org>
Sat, 23 Jun 2018 10:39:20 +0000 (23 12:39 +0200)
tree6a7f1c179f212b8760a5ee6c617dae2685ddfaaf
parent3d80c086bea3b0d93327c30ac620740b629cb294
Fix memory link in test_link_specifier().

This patch fixes a memory leak in test_link_specifier() where ls might
not get freed in case one of the test macros fails.

See: Coverity CID 1437434.
src/test/test_hs_descriptor.c