]> granicus.if.org Git - php/commitdiff
Fixed memory leak (related to new implementation of empty strings)
authorDmitry Stogov <dmitry@php.net>
Mon, 19 Jul 2004 11:38:40 +0000 (11:38 +0000)
committerDmitry Stogov <dmitry@php.net>
Mon, 19 Jul 2004 11:38:40 +0000 (11:38 +0000)
ext/soap/soap.c

index 1472658121ec9370d1be18ec92b02413b1182ec4..e6ccc79a31b79d2c434a6115870f7a742c0b4d27 100644 (file)
@@ -2035,8 +2035,6 @@ static void do_soap_call(zval* this_ptr,
        sdlPtr old_sdl = NULL;
        sdlFunctionPtr fn;
        xmlDocPtr request = NULL;
-       char *buffer;
-       int len;
        int ret = FALSE;
        int soap_version;
        zval response;
@@ -2603,8 +2601,6 @@ static sdlFunctionPtr deserialize_function_call(sdlPtr sdl, xmlDocPtr request, c
        xmlAttrPtr attr;
        sdlFunctionPtr function;
 
-       ZVAL_EMPTY_STRING(function_name);
-
        /* Get <Envelope> element */
        env = NULL;
        trav = request->children;