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

index 840fef55bcc02a5665a3247d10efced5080afcd4..a0655e20ad187c1d42e03b528f5c545545b4a0d0 100644 (file)
@@ -1057,6 +1057,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;
                }