diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-02-22 16:14:03 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-02-22 16:14:03 -0500 |
commit | 041d6482db225f1bddb150393006da61b6ed6bcb (patch) | |
tree | 156eaa2249af11647d0ec067fed08e50f3bc4e3d /src/test/test_options.c | |
parent | bb431ad3dfae6941a0bd615b17283ca8c0a5fe4d (diff) | |
download | tor-041d6482db225f1bddb150393006da61b6ed6bcb.tar.gz tor-041d6482db225f1bddb150393006da61b6ed6bcb.zip |
Fix a bunch of memory leaks in the unit tests
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r-- | src/test/test_options.c | 2 |
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; } |