Remove a double-free in test_single_onion_poisoning
commitfdd368d6564e955422337af53e0723b571b8da57
authorteor <teor2345@gmail.com>
Fri, 2 Dec 2016 19:27:32 +0000 (3 06:27 +1100)
committerteor <teor2345@gmail.com>
Fri, 2 Dec 2016 19:27:32 +0000 (3 06:27 +1100)
tree3d7460e6f4a6b30b7414b8d531339d11f2bb4b99
parentc100c5c69b4fd3b464b2395263e77cc6e1051ef3
Remove a double-free in test_single_onion_poisoning

We were freeing both dir{1,2} directly, and service_{1,2}->directory via
rend_service_free, even though they are the same pointer.
src/test/test_hs.c