From e35bc2e2b4eed3fc2bbbe01d7e78ba0981bcebb4 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 19 Jul 2004 11:38:40 +0000 Subject: [PATCH] Fixed memory leak (related to new implementation of empty strings) --- ext/soap/soap.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 1472658121..e6ccc79a31 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -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 element */ env = NULL; trav = request->children; -- 2.50.1