summaryrefslogtreecommitdiff
path: root/src/test/test_options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r--src/test/test_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c
index 10ee1f962b..1814fbf5c3 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -292,7 +292,7 @@ test_have_enough_mem_for_dircache(void *arg)
if (msg)
tor_free(msg);
tor_free(dflt);
- tor_free(opt);
+ or_options_free(opt);
tor_free(cl);
return;
}