Re: [PATCH] a bit of Pango

From: Date: Sun, 25 Jun 2006 17:36:55 +0000
Subject: Re: [PATCH] a bit of Pango
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3166@lists.php.net to get a copy of this message
Can we please get the notes working and the rest of the stuff done for the alpha? I don't remember us saying that we need to have all the constructors working for alpha. -Andrei On Jun 24, 2006, at 4:30 PM, Steph Fox wrote:
More stuff, except I can't find a way to kill these memleaks.... if you can, we only have two constructors left to write. Note that leaks only occur if varargs come into the equation, I don't see any if I just have new PangoTabArray(true, Pango::TAB_LEFT, 0); My best guess is it's string-related... Any clue? $tab_array2 = new PangoTabArray(true, Pango::TAB_LEFT, 0, Pango::TAB_LEFT, 30); =============================================================================== c:\sandbox\php-gtk\main\php_gtk_util.c(738) : Freeing 0x00B36AE8 (32 bytes), script=bug.php c:\sandbox\php5\zend\zend_hash.c(169) : Actual location (location was relayed) Last leak repeated 1 time c:\sandbox\php5\zend\zend_vm_execute.h(1766) : Freeing 0x00B36968 (16 bytes), script=bug.php c:\sandbox\php5\zend\zend_vm_execute.h(4190) : Freeing 0x00B36910 (16 bytes), script=bug.php c:\sandbox\php-gtk\main\php_gtk_util.c(742) : Freeing 0x00B32020 (35 bytes), script=bug.php c:\sandbox\php5\zend\zend_hash.c(383) : Actual location (location was relayed) Last leak repeated 1 time === Total 6 memory leaks detected === $tab_array3 = new PangoTabArray(true, Pango::TAB_LEFT, 20, Pango::TAB_LEFT, 30, Pango::TAB_LEFT, 50); ===================================================================================================== c:\sandbox\php-gtk\main\php_gtk_util.c(738) : Freeing 0x00B36E60 (32 bytes), script=bug.php c:\sandbox\php5\zend\zend_hash.c(169) : Actual location (location was relayed) Last leak repeated 1 time c:\sandbox\php5\zend\zend_vm_execute.h(1766) : Freeing 0x00B36C78 (16 bytes), script=bug.php Last leak repeated 1 time c:\sandbox\php5\zend\zend_vm_execute.h(4190) : Freeing 0x00B36C20 (16 bytes), script=bug.php Last leak repeated 1 time c:\sandbox\php-gtk\main\php_gtk_util.c(742) : Freeing 0x00B32280 (35 bytes), script=bug.php c:\sandbox\php5\zend\zend_hash.c(383) : Actual location (location was relayed) Last leak repeated 3 times === Total 10 memory leaks detected === $tab_array2 = new PangoTabArray(true, Pango::TAB_LEFT, 0, Pango::TAB_LEFT, 30); $tab_array3 = new PangoTabArray(true, Pango::TAB_LEFT, 20, Pango::TAB_LEFT, 30, Pango::TAB_LEFT, 50); ===================================================================================================== c:\sandbox\php-gtk\main\php_gtk_util.c(738) : Freeing 0x00B37D50 (32 bytes), script=bug.php c:\sandbox\php5\zend\zend_hash.c(169) : Actual location (location was relayed) Last leak repeated 3 times c:\sandbox\php5\zend\zend_vm_execute.h(1766) : Freeing 0x00B37B68 (16 bytes), script=bug.php Last leak repeated 2 times c:\sandbox\php5\zend\zend_vm_execute.h(4190) : Freeing 0x00B37B10 (16 bytes), script=bug.php Last leak repeated 2 times c:\sandbox\php-gtk\main\php_gtk_util.c(742) : Freeing 0x00B32DC8 (35 bytes), script=bug.php c:\sandbox\php5\zend\zend_hash.c(383) : Actual location (location was relayed) Last leak repeated 5 times === Total 16 memory leaks detected === <pango.txt> --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.gtk.dev (#3166) next »