From: Michael Wallner Date: Thu, 28 Apr 2016 08:11:01 +0000 (+0200) Subject: fix leak in write_dimension X-Git-Tag: release-2.0.1~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=e5d3f312bb4a5cdde844be39fcb4de57d3ba3edc;p=m6w6%2Fext-propro fix leak in write_dimension --- diff --git a/package.xml b/package.xml index 76f1e04..7c54ded 100644 --- a/package.xml +++ b/package.xml @@ -19,9 +19,9 @@ http://pear.php.net/dtd/package-2.0.xsd"> mike@php.net yes - 2016-01-19 + 2016-04-28 - 2.0.0 + 2.0.1dev 2.0.0 @@ -30,9 +30,7 @@ http://pear.php.net/dtd/package-2.0.xsd"> BSD-2-Clause diff --git a/php_propro.h b/php_propro.h index e980fe8..387766b 100644 --- a/php_propro.h +++ b/php_propro.h @@ -16,7 +16,7 @@ extern zend_module_entry propro_module_entry; #define phpext_propro_ptr &propro_module_entry -#define PHP_PROPRO_VERSION "2.0.0" +#define PHP_PROPRO_VERSION "2.0.1dev" #ifdef PHP_WIN32 # define PHP_PROPRO_API __declspec(dllexport) diff --git a/src/php_propro_api.c b/src/php_propro_api.c index c92d6d4..60c75a1 100644 --- a/src/php_propro_api.c +++ b/src/php_propro_api.c @@ -449,7 +449,6 @@ static void write_dimension(zval *object, zval *offset, zval *value) array_init(&proxied_value); } - SEPARATE_ZVAL(value); Z_TRY_ADDREF_P(value); if (offset) { diff --git a/travis/pecl b/travis/pecl index 29d127c..23c2876 160000 --- a/travis/pecl +++ b/travis/pecl @@ -1 +1 @@ -Subproject commit 29d127c657e4aa27d35376c931b420185d03010d +Subproject commit 23c2876aaa0808bcfedc1c5c30da6e8234341a13