summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipensp@gmail.com>2013-10-19 23:30:53 -0300
committerFelipe Pena <felipensp@gmail.com>2013-10-19 23:30:53 -0300
commit07361a4efc6b187cf186ccf330719eb419ef723b (patch)
tree475791059a178c98fa42a232e0e03364b7b4b3c6
parent6650bed41cf26818c73e09fcb1a0ae187ce1eeaa (diff)
parentc1f22176f3cc3653fb140312456fd8c55b0efddc (diff)
downloadphp-git-07361a4efc6b187cf186ccf330719eb419ef723b.tar.gz
Merge branch 'PHP-5.5'
* PHP-5.5: - Fixed possible memory leak
-rw-r--r--ext/bz2/bz2_filter.c1
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;
}