]> git.ipfire.org Git - thirdparty/tor.git/commit
Improved fix for test_memeq_hex leak.
authorNick Mathewson <nickm@torproject.org>
Sun, 27 Sep 2009 16:07:33 +0000 (12:07 -0400)
committerNick Mathewson <nickm@torproject.org>
Sun, 27 Sep 2009 16:07:33 +0000 (12:07 -0400)
commit008dc890d8d393f3a7be8ffae131632e46c5bc53
tree59489aae0f59270ceaf22da464b127becc5d9c23
parenta24b9e60884f6aec1bfbe8da20a02d1fdc0cd181
Improved fix for test_memeq_hex leak.

The earlier fix would only handle the success case.  In the failing
case, test_mem_op does a goto done, which would leave the leak leaking.
src/test/test.h
src/test/test_crypto.c