aboutsummaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-07-12 17:15:42 +0000
committerBodo Möller <bodo@openssl.org>1999-07-12 17:15:42 +0000
commit5059658219465c2e3e15f45c5ca3a0d251cd5fba (patch)
treea1a575b60ee0d4833864a2482a2619393d362a9e /ssl
parentd9f0016bc57ac680d30aa1f32c9aef91acfe5aa4 (diff)
downloadopenssl-5059658219465c2e3e15f45c5ca3a0d251cd5fba.tar.gz
fix memory leak in s3_clnt.c
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_clnt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c
index 1f4e3239aa..d3e6b4d1e5 100644
--- a/ssl/s3_clnt.c
+++ b/ssl/s3_clnt.c
@@ -1336,6 +1336,7 @@ static int ssl3_send_client_key_exchange(SSL *s)
goto err;
}
rsa=pkey->pkey.rsa;
+ EVP_PKEY_free(pkey);
}
tmp_buf[0]=s->client_version>>8;