summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/test.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/test.h b/src/common/test.h
index 05e17e3fc5..e3b5744283 100644
--- a/src/common/test.h
+++ b/src/common/test.h
@@ -158,6 +158,8 @@
__LINE__, \
PRETTY_FUNCTION, \
#expr1, _test_v2, _mem1, _test_v2); \
+ tor_free(_mem1); \
+ tor_free(_mem2); \
goto done; \
} \
tor_free(_mem2); \