summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2010-04-24 16:59:09 +0000
committerFelipe Pena <felipe@php.net>2010-04-24 16:59:09 +0000
commit1c0ed3433e25c5b51138898c11ac6e73288b0ca8 (patch)
treede2ef9f9e216d8163994dd14ca5542d52bec2d15
parenteb0a3ff1af273d916258b2c59fa3289d5585dc13 (diff)
downloadphp-git-1c0ed3433e25c5b51138898c11ac6e73288b0ca8.tar.gz
- Fixed memory leak
-rw-r--r--ext/soap/soap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index ff430cabd5..00fe814db5 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -1699,6 +1699,7 @@ PHP_METHOD(SoapServer, handle)
doc_request = soap_xmlParseMemory(post_data, post_data_length);
}
} else {
+ zval_ptr_dtor(&retval);
return;
}
} else {