Commit 41bf2501 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fixed memory leak in the event of a failure of BUF_MEM_grow

parent 76e65090
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -294,6 +294,7 @@ int ssl3_accept(SSL *s)
					}
				if (!BUF_MEM_grow(buf,SSL3_RT_MAX_PLAIN_LENGTH))
					{
					BUF_MEM_free(buf);
					ret= -1;
					goto end;
					}