--- embedaddon/php/ext/bz2/bz2_filter.c 2012/02/21 23:47:53 1.1.1.1 +++ embedaddon/php/ext/bz2/bz2_filter.c 2014/06/15 20:03:41 1.1.1.4 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2012 The PHP Group | + | Copyright (c) 1997-2014 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: bz2_filter.c,v 1.1.1.1 2012/02/21 23:47:53 misho Exp $ */ +/* $Id: bz2_filter.c,v 1.1.1.4 2014/06/15 20:03:41 misho Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -97,6 +97,7 @@ static php_stream_filter_status_t php_bz2_decompress_f status = BZ2_bzDecompressInit(streamp, 0, data->small_footprint); if (BZ_OK != status) { + php_stream_bucket_delref(bucket TSRMLS_CC); return PSFS_ERR_FATAL; }