]> granicus.if.org Git - php/commitdiff
Fixed use of uninitliazed pointer
authorXinchen Hui <laruence@php.net>
Fri, 13 Feb 2015 06:53:13 +0000 (14:53 +0800)
committerXinchen Hui <laruence@php.net>
Fri, 13 Feb 2015 06:53:13 +0000 (14:53 +0800)
ext/soap/soap.c

index 6792c325ac0e5cc803f6b35a8090e79fabe0c4e6..64c79c80d6730bb0a93994fdd21ccf4cd7af03ed 100644 (file)
@@ -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