summaryrefslogtreecommitdiff
path: root/src/test/test_threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_threads.c')
-rw-r--r--src/test/test_threads.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test_threads.c b/src/test/test_threads.c
index 35f5dc8ea3..1bbe6f5508 100644
--- a/src/test/test_threads.c
+++ b/src/test/test_threads.c
@@ -1,6 +1,6 @@
/* Copyright (c) 2001-2004, Roger Dingledine.
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
- * Copyright (c) 2007-2015, The Tor Project, Inc. */
+ * Copyright (c) 2007-2016, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#include "orconfig.h"
@@ -73,6 +73,8 @@ thread_test_func_(void* _s)
++thread_fns_failed;
tor_mutex_release(thread_test_mutex_);
+ tor_free(mycount);
+
tor_mutex_release(m);
spawn_exit();