mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
MFH: fix leak on error
This commit is contained in:
parent
89ad25f1af
commit
e07b83afb2
1 changed files with 3 additions and 0 deletions
|
@ -169,6 +169,9 @@ static int handle_ssl_error(php_stream *stream, int nr_bytes TSRMLS_DC)
|
||||||
err,
|
err,
|
||||||
ebuf ? "OpenSSL Error messages:\n" : "",
|
ebuf ? "OpenSSL Error messages:\n" : "",
|
||||||
ebuf ? ebuf : "");
|
ebuf ? ebuf : "");
|
||||||
|
if (ebuf) {
|
||||||
|
efree(ebuf);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
retry = 0;
|
retry = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue