diff --git a/ext/xslt/xslt.c b/ext/xslt/xslt.c index 265eaa0c046..068292d820f 100644 --- a/ext/xslt/xslt.c +++ b/ext/xslt/xslt.c @@ -225,7 +225,7 @@ extern void xslt_call_function(char *name, /* Call the function */ error = call_user_function_ex(EG(function_table), NULL, function, - *retval, argc, argv, O, NULL); + retval, argc, argv, O, NULL); if (error == FAILURE) { php_error(E_WARNING, "Cannot call the %s handler: %s", name, Z_STRVAL_P(function)); @@ -234,7 +234,7 @@ extern void xslt_call_function(char *name, /* Cleanup arguments */ for (idx = 0; idx < argc; idx++) { /* Decrease refcount and free if refcount is <= 0 */ - zval_ptr_dtor(&argv[idx]); + zval_ptr_dtor(argv[idx]); } efree(argv);