Cleanup unnecessary if guard clause to free buffer.

This commit is contained in:
Benjamin Eberlei 2019-08-18 11:01:31 +02:00 committed by Christoph M. Becker
parent f50c460723
commit 58d661cd7d

View File

@ -1417,12 +1417,6 @@ static ZEND_COLD void php_error_cb(int type, const char *error_filename, const u
break;
}
/* Log if necessary */
if (!display) {
efree(buffer);
return;
}
efree(buffer);
}
/* }}} */