summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypt.c b/src/lib/crypt.c
index 94f1b50e..c9129a61 100644
--- a/src/lib/crypt.c
+++ b/src/lib/crypt.c
@@ -83,7 +83,7 @@ static int __openssl_ecdh_derive_secret(EVP_PKEY * kp,
return 0;
fail_derive:
- OPENSSL_free(s);
+ OPENSSL_free(secret);
fail_ctx:
EVP_PKEY_CTX_free(ctx);
fail_new: