]> granicus.if.org Git - php/commitdiff
Plug leak of 1/2 bytes when converting from string/unicode
authorSara Golemon <pollita@php.net>
Mon, 12 Sep 2005 17:42:43 +0000 (17:42 +0000)
committerSara Golemon <pollita@php.net>
Mon, 12 Sep 2005 17:42:43 +0000 (17:42 +0000)
Zend/zend_execute.c

index efe34c811888fff83118e9bfce16856f20a9efcd..b430e868eb82500f5a67e41fe2f3b22d016408db 100644 (file)
@@ -1156,6 +1156,7 @@ static void zend_fetch_dimension_address(temp_variable *result, zval **container
                                        SEPARATE_ZVAL(container_ptr);
                                        container = *container_ptr;
                                }
+                               zval_dtor(container);
                                array_init(container);
                                break;
                }