mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove always-true condition in php_conv_open()
This commit is contained in:
parent
5e02bca537
commit
ddedd15eae
1 changed files with 1 additions and 3 deletions
|
@ -1188,9 +1188,7 @@ static php_conv *php_conv_open(int conv_mode, const HashTable *options, int pers
|
||||||
retval = pemalloc(sizeof(php_conv_base64_encode), persistent);
|
retval = pemalloc(sizeof(php_conv_base64_encode), persistent);
|
||||||
if (lbchars != NULL) {
|
if (lbchars != NULL) {
|
||||||
if (php_conv_base64_encode_ctor((php_conv_base64_encode *)retval, line_len, lbchars, lbchars_len, 1, persistent) != PHP_CONV_ERR_SUCCESS) {
|
if (php_conv_base64_encode_ctor((php_conv_base64_encode *)retval, line_len, lbchars, lbchars_len, 1, persistent) != PHP_CONV_ERR_SUCCESS) {
|
||||||
if (lbchars != NULL) {
|
|
||||||
pefree(lbchars, 0);
|
pefree(lbchars, 0);
|
||||||
}
|
|
||||||
goto out_failure;
|
goto out_failure;
|
||||||
}
|
}
|
||||||
pefree(lbchars, 0);
|
pefree(lbchars, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue