Browse Source

FIX: memory leak

PEAR_1_4DEV
Dmitry Stogov 23 years ago
parent
commit
c708524676
  1. 1
      ext/soap/php_http.c

1
ext/soap/php_http.c

@ -264,6 +264,7 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS
/* Try and get headers again */
if (!strcmp(http_status, "100")) {
efree(http_headers);
if (!get_http_headers(stream, &http_headers, &http_header_size TSRMLS_CC)) {
php_stream_close(stream);
zend_hash_del(Z_OBJPROP_P(this_ptr), "httpsocket", sizeof("httpsocket"));

Loading…
Cancel
Save