From: Xinchen Hui Date: Fri, 13 Feb 2015 06:53:13 +0000 (+0800) Subject: Fixed use of uninitliazed pointer X-Git-Tag: PRE_PHP7_EREG_MYSQL_REMOVALS~163 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=136594822fb1cd8e7067685d10b34a1338410027;p=php Fixed use of uninitliazed pointer --- diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 6792c325ac..64c79c80d6 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -2081,7 +2081,6 @@ static void soap_server_fault_ex(sdlFunctionPtr function, zval* fault, soapHeade xmlDocPtr doc_return; zval *agent_name; int use_http_error_status = 1; - zend_string *server; soap_version = SOAP_GLOBAL(soap_version); @@ -2096,7 +2095,6 @@ static void soap_server_fault_ex(sdlFunctionPtr function, zval* fault, soapHeade use_http_error_status = 0; } } - zend_string_release(server); /* Want to return HTTP 500 but apache wants to over write our fault code with their own handling... Figure this out later