aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_tortls_openssl.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-04 19:41:59 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-04 19:45:28 -0400
commitd644c93ae9373f99d95870c7b752b790f8714201 (patch)
tree542b703b6405b704ddbf6354f76d97a05320903a /src/test/test_tortls_openssl.c
parentc50537fd9462af45f0a53aa4f0d5ca03a08fc41e (diff)
downloadtor-d644c93ae9373f99d95870c7b752b790f8714201.tar.gz
tor-d644c93ae9373f99d95870c7b752b790f8714201.zip
Resolve openssl-only memory leaks
Diffstat (limited to 'src/test/test_tortls_openssl.c')
-rw-r--r--src/test/test_tortls_openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_tortls_openssl.c b/src/test/test_tortls_openssl.c
index 3abf412655..2e71de43ae 100644
--- a/src/test/test_tortls_openssl.c
+++ b/src/test/test_tortls_openssl.c
@@ -600,7 +600,7 @@ test_tortls_get_my_client_auth_key(void *ignored)
tt_assert(ret == expected);
done:
- tor_free(expected);
+ crypto_pk_free(expected);
tor_free(ctx);
}