From 7248900b87eae8fd4647457472fb209d357cc411 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sat, 24 Apr 2010 16:59:09 +0000 Subject: [PATCH] - Fixed memory leak --- ext/soap/soap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/soap/soap.c b/ext/soap/soap.c index f175e34b80..ed1ec51aa6 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -1531,6 +1531,7 @@ PHP_METHOD(SoapServer, handle) doc_request = soap_xmlParseMemory(post_data, post_data_length); } } else { + zval_ptr_dtor(&retval); return; } } else { -- 2.40.0