diff options
| author | Wez Furlong <wez@php.net> | 2004-01-14 12:19:17 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2004-01-14 12:19:17 +0000 |
| commit | c69945961fb18c9270b5e1665f6664ba5ab1c6ed (patch) | |
| tree | 2fbaa89f2e5ad025264c7219c1a7ade7e6c55c6a /ext/tidy/tidy.c | |
| parent | bbc746c29caccaf8c3a22c0eea690d4d2f533e53 (diff) | |
| download | php-git-c69945961fb18c9270b5e1665f6664ba5ab1c6ed.tar.gz | |
fix crash when throwing an exception
Diffstat (limited to 'ext/tidy/tidy.c')
| -rw-r--r-- | ext/tidy/tidy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index 61ba2312dd..fa8d2fe16f 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -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); |
