diff options
author | Felipe Pena <felipensp@gmail.com> | 2013-10-19 23:30:12 -0300 |
---|---|---|
committer | Felipe Pena <felipensp@gmail.com> | 2013-10-19 23:30:12 -0300 |
commit | c1f22176f3cc3653fb140312456fd8c55b0efddc (patch) | |
tree | 0b7fef3b1155f38ea56badd59e5dd21693e8dfbe /ext/bz2/bz2_filter.c | |
parent | 1ce00048fde3dda1d75a6e47921e80c9a864d992 (diff) | |
parent | aa4f9b322b18e3dffbe0646c802e6ed3cf71367e (diff) | |
download | php-git-c1f22176f3cc3653fb140312456fd8c55b0efddc.tar.gz |
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
- Fixed possible memory leak
Diffstat (limited to 'ext/bz2/bz2_filter.c')
-rw-r--r-- | ext/bz2/bz2_filter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bz2/bz2_filter.c b/ext/bz2/bz2_filter.c index 335600232b..1e7837b098 100644 --- a/ext/bz2/bz2_filter.c +++ b/ext/bz2/bz2_filter.c @@ -97,6 +97,7 @@ static php_stream_filter_status_t php_bz2_decompress_filter( status = BZ2_bzDecompressInit(streamp, 0, data->small_footprint); if (BZ_OK != status) { + php_stream_bucket_delref(bucket TSRMLS_CC); return PSFS_ERR_FATAL; } |