mirror of
https://github.com/php/php-src.git
synced 2024-12-03 23:05:57 +08:00
fix crash when throwing an exception
This commit is contained in:
parent
bbc746c29c
commit
c69945961f
@ -897,6 +897,7 @@ PHP_FUNCTION(tidy_parse_file)
|
||||
|
||||
if (!(contents = php_tidy_file_to_mem(inputfile, use_include_path TSRMLS_CC))) {
|
||||
TIDY_THROW("Cannot Load '%s' into memory %s", inputfile, (use_include_path) ? "(Using include path)" : "");
|
||||
return;
|
||||
}
|
||||
|
||||
TIDY_APPLY_CONFIG_ZVAL(obj->ptdoc->doc, options);
|
||||
|
Loading…
Reference in New Issue
Block a user