fix leak in write_dimension
authorMichael Wallner <mike@php.net>
Thu, 28 Apr 2016 08:11:01 +0000 (10:11 +0200)
committerMichael Wallner <mike@php.net>
Thu, 28 Apr 2016 08:11:01 +0000 (10:11 +0200)
package.xml
php_propro.h
src/php_propro_api.c
travis/pecl

index 76f1e045d56a187fc58d15e83498d1b9d9d55e80..7c54ded1a80d8518cea622bebe72bc7f7cb19481 100644 (file)
@@ -19,9 +19,9 @@ http://pear.php.net/dtd/package-2.0.xsd">
   <email>mike@php.net</email>
   <active>yes</active>
  </lead>
- <date>2016-01-19</date>
+ <date>2016-04-28</date>
  <version>
-  <release>2.0.0</release>
+  <release>2.0.1dev</release>
   <api>2.0.0</api>
  </version>
  <stability>
@@ -30,9 +30,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
  </stability>
  <license uri="http://copyfree.org/content/standard/licenses/2bsd/license.txt">BSD-2-Clause</license>
  <notes><![CDATA[
-* Internals documentation at http://m6w6.github.io/ext-propro/master/
-* Travis support
-* PHP7 compatible version
+* Fixed leak in write_dimension
 ]]></notes>
  <contents>
   <dir name="/">
index e980fe8dba359a828e6f6ee3e331cee9f866306f..387766b118425c0f702c7b22b4222486b5ccad49 100644 (file)
@@ -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)
index c92d6d4a3f7754da92505947919ca129ee9d3073..60c75a13893d9eaf61c1917b5f85492acd77bafa 100644 (file)
@@ -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) {
index 29d127c657e4aa27d35376c931b420185d03010d..23c2876aaa0808bcfedc1c5c30da6e8234341a13 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 29d127c657e4aa27d35376c931b420185d03010d
+Subproject commit 23c2876aaa0808bcfedc1c5c30da6e8234341a13