diff options
Diffstat (limited to 'src/test/test.h')
-rw-r--r-- | src/test/test.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test.h b/src/test/test.h index b5076c04d9..18238b3301 100644 --- a/src/test/test.h +++ b/src/test/test.h @@ -58,6 +58,7 @@ tor_assert((length&1)==0); \ base16_decode(value2, length/2, hex, length); \ test_mem_op(expr1, op, value2, length/2); \ + tor_free(value2); \ STMT_END #define test_memeq_hex(expr1, hex) test_mem_op_hex(expr1, ==, hex) |