We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7db07e commit 7e956f8Copy full SHA for 7e956f8
ext/soap/soap.c
@@ -1336,8 +1336,6 @@ PHP_METHOD(SoapServer, handle)
1336
}
1337
1338
1339
- ZVAL_NULL(&retval);
1340
-
1341
if (php_output_start_default() != SUCCESS) {
1342
php_error_docref(NULL, E_ERROR,"ob_start failed");
1343
@@ -1388,7 +1386,6 @@ PHP_METHOD(SoapServer, handle)
1388
1386
php_stream_filter_remove(zf, 1);
1389
1387
1390
} else {
1391
- zval_ptr_dtor(&retval);
1392
SOAP_SERVER_END_CODE();
1393
return;
1394
@@ -1434,6 +1431,8 @@ PHP_METHOD(SoapServer, handle)
1434
1431
1435
1432
xmlFreeDoc(doc_request);
1436
1433
+ ZVAL_NULL(&retval);
+
1437
if (EG(exception)) {
1438
if (!zend_is_unwind_exit(EG(exception))) {
1439
php_output_discard();
0 commit comments