Fix memory leak in tor-resolve

Coverity found a memory leak in tor-resolve. There's no actual problem here, since the program exits anyway, but we try to fix coverity warnings on principle.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information