| 611 | | exc = zend_throw_exception_ex(syck_exception_entry, 0 TSRMLS_CC, "%s on line %d, col %d: '%s'", str, p->linect + 1, p->cursor - p->lineptr, p->lineptr); |
| 612 | | |
| 613 | | Z_SET_REFCOUNT_P(exc, 2); |
| 614 | | |
| 615 | | st_foreach(p->syms, my_cleaner, NULL); |
| 616 | | |
| 617 | | p->bonus = exc; |
| | 611 | if (NULL == p->bonus) { |
| | 612 | /* silence second exceptions */ |
| | 613 | exc = zend_throw_exception_ex(syck_exception_entry, 0 TSRMLS_CC, "%s on line %d, col %d: '%s'", str, p->linect + 1, p->cursor - p->lineptr, p->lineptr); |
| | 614 | |
| | 615 | Z_SET_REFCOUNT_P(exc, 2); |
| | 616 | |
| | 617 | p->bonus = exc; |
| | 618 | } |
| | 619 | |
| | 620 | if (p->syms) |
| | 621 | st_foreach(p->syms, my_cleaner, NULL); |