svn: /pecl/http/branches/DEV_2/ php_http_headers.c

From: Date: Mon, 16 Jan 2012 14:02:51 +0000
Subject: svn: /pecl/http/branches/DEV_2/ php_http_headers.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-17467@lists.php.net to get a copy of this message
mike Mon, 16 Jan 2012 14:02:51 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=322368 Log: fix leak Changed paths: U pecl/http/branches/DEV_2/php_http_headers.c Modified: pecl/http/branches/DEV_2/php_http_headers.c =================================================================== --- pecl/http/branches/DEV_2/php_http_headers.c 2012-01-16 13:33:08 UTC (rev 322367) +++ pecl/http/branches/DEV_2/php_http_headers.c 2012-01-16 14:02:51 UTC (rev 322368) @@ -147,7 +147,8 @@ } zvalue = php_http_ztyp(IS_STRING, zend_read_property(php_http_header_class_entry, getThis(), ZEND_STRL("value"), 0 TSRMLS_CC)); - RETURN_BOOL(php_http_match(Z_STRVAL_P(zvalue), val_str, flags)) + RETVAL_BOOL(php_http_match(Z_STRVAL_P(zvalue), val_str, flags)); + zval_ptr_dtor(&zvalue); } PHP_MINIT_FUNCTION(http_header)

« previous php.pecl.cvs (#17467) next »