summaryrefslogtreecommitdiff
path: root/ext/java/java.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/java/java.c')
-rw-r--r--ext/java/java.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/java/java.c b/ext/java/java.c
index 6c7013e926..896388162c 100644
--- a/ext/java/java.c
+++ b/ext/java/java.c
@@ -554,9 +554,10 @@ static pval _java_getset_property
pval java_get_property_handler(zend_property_reference *property_reference)
{
+ pval presult;
TSRMLS_FETCH();
- pval presult = _java_getset_property(property_reference, 0 TSRMLS_CC);
+ presult = _java_getset_property(property_reference, 0 TSRMLS_CC);
checkError(&presult);
return presult;
}