aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_options.c
diff options
context:
space:
mode:
authorOla Bini <ola@olabini.se>2016-01-12 14:29:21 -0500
committerOla Bini <ola@olabini.se>2016-01-13 10:35:05 -0500
commit0bfa616e2e0ea7425801142e7faf7bca020f4361 (patch)
treefb0def3aecb4d408fd8284596e122806501f80b5 /src/test/test_options.c
parentce953b864b25d89ecd0c4441114cab50e394a7ef (diff)
downloadtor-0bfa616e2e0ea7425801142e7faf7bca020f4361.tar.gz
tor-0bfa616e2e0ea7425801142e7faf7bca020f4361.zip
Remove a small memory leak in log callback setup
Diffstat (limited to 'src/test/test_options.c')
-rw-r--r--src/test/test_options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c
index 3b806945cf..76e9bdac94 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -200,6 +200,7 @@ test_options_validate(void *arg)
"We're a bridge but DirCache is disabled.");
clear_log_messages();
+ remove_log_callback();
return;
}