aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-11 14:57:10 -0500
committerNick Mathewson <nickm@torproject.org>2013-02-11 14:57:10 -0500
commit717946089b6008e4744522845014dafa1fc4e37c (patch)
tree1750ca3984d902f8dc4bbb1f73a705cc174b3128 /src/test/test_util.c
parentb9432becbe0ff10788e8f289b6562720822b7ece (diff)
downloadtor-717946089b6008e4744522845014dafa1fc4e37c.tar
tor-717946089b6008e4744522845014dafa1fc4e37c.tar.gz
Resolve memory leaks in the unit tests and benchmarks (found by coverity)
These shouldn't really matter, but it's nice to be leak-free.
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r--src/test/test_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index a66941b00..b7a69b205 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -2724,7 +2724,7 @@ test_util_join_win_cmdline(void *ptr)
}
done:
- ;
+ tor_free(joined_argv);
}
#define MAX_SPLIT_LINE_COUNT 4