diff options
Diffstat (limited to 'ext/soap/soap.c')
-rw-r--r-- | ext/soap/soap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 2bee639121..09faf2345a 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -2522,6 +2522,7 @@ PHP_METHOD(SoapClient, SoapClient) if (zend_hash_find(ht, "stream_context", sizeof("stream_context"), (void**)&tmp) == SUCCESS && Z_TYPE_PP(tmp) == IS_RESOURCE) { context = php_stream_context_from_zval(*tmp, 1); + zend_list_addref(context->rsrc_id); } if (zend_hash_find(ht, "location", sizeof("location"), (void**)&tmp) == SUCCESS && |