Skip to content

Commit

Permalink
corrupt string the problem?
Browse files Browse the repository at this point in the history
  • Loading branch information
auroraeosrose committed Nov 5, 2016
1 parent 0f63c27 commit cad9aba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cairo_ft_font.c
Expand Up @@ -272,7 +272,8 @@ PHP_METHOD(CairoFtFontFace, __construct)
const char *err_string = php_cairo_get_ft_error(error TSRMLS_CC);
pefree(ft_container, 1);
php_printf("before exception");
zend_throw_exception_ex(cairo_ce_cairoexception, error, "CairoFtFontFace::__construct(): An error occurred opening the file %s", err_string TSRMLS_CC);
//zend_throw_exception_ex(cairo_ce_cairoexception, error, "CairoFtFontFace::__construct(): An error occurred opening the file %s", err_string TSRMLS_CC);
zend_throw_exception_ex(cairo_ce_cairoexception, error, "CairoFtFontFace::__construct(): An error occurred opening the file" TSRMLS_CC);
php_printf("after exception");
RETURN_NULL();
}
Expand Down

0 comments on commit cad9aba

Please sign in to comment.