summaryrefslogtreecommitdiff
path: root/crypto/openssl/ssl/s23_srvr.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2015-02-25 05:56:16 +0000
committerXin LI <delphij@FreeBSD.org>2015-02-25 05:56:16 +0000
commit0099f6f89a1325dc504096aecbdcbddad498310e (patch)
treefb8622e587884d6798b247e77bf0a8dcc352eedd /crypto/openssl/ssl/s23_srvr.c
parent11ad446ce58488a8870294bee24ea87050e96dbe (diff)
downloadsrc-test2-0099f6f89a1325dc504096aecbdcbddad498310e.tar.gz
src-test2-0099f6f89a1325dc504096aecbdcbddad498310e.zip
Notes
Diffstat (limited to 'crypto/openssl/ssl/s23_srvr.c')
-rw-r--r--crypto/openssl/ssl/s23_srvr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/openssl/ssl/s23_srvr.c b/crypto/openssl/ssl/s23_srvr.c
index de909b180851..3178815ec99b 100644
--- a/crypto/openssl/ssl/s23_srvr.c
+++ b/crypto/openssl/ssl/s23_srvr.c
@@ -192,6 +192,7 @@ int ssl23_accept(SSL *s)
}
if (!BUF_MEM_grow(buf,SSL3_RT_MAX_PLAIN_LENGTH))
{
+ BUF_MEM_free(buf);
ret= -1;
goto end;
}