Skip to content

Commit

Permalink
Fixed exit in info with PHP7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Feb 1, 2022
1 parent 37cf83e commit f4c98da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yar_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ static void php_yar_server_info(zval *obj) /* {{{ */ {
zend_call_known_instance_method(fbc, Z_OBJ_P(obj), &ret, 1, &html);
#endif
zval_ptr_dtor(&html);
} YAR_CATCH(/*html memleak? */);
} YAR_CATCH(smart_str_free(&out);return);

if (EG(exception)) {
smart_str_free(&out);
Expand Down

0 comments on commit f4c98da

Please sign in to comment.