summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/soap/soap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index ff430cabd5..00fe814db5 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -1699,6 +1699,7 @@ PHP_METHOD(SoapServer, handle)
doc_request = soap_xmlParseMemory(post_data, post_data_length);
}
} else {
+ zval_ptr_dtor(&retval);
return;
}
} else {