MFH: fix leak on error

This commit is contained in:
Antony Dovgal 2007-04-04 10:44:55 +00:00
parent 89ad25f1af
commit e07b83afb2

View file

@ -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;