pajoye                                   Sat, 18 Dec 2010 12:06:58 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=306428

Log:
- fix leak introduced by the null poisoning patch

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/pspell/pspell.c

Modified: php/php-src/branches/PHP_5_3/ext/pspell/pspell.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/pspell/pspell.c    2010-12-18 12:05:55 UTC 
(rev 306427)
+++ php/php-src/branches/PHP_5_3/ext/pspell/pspell.c    2010-12-18 12:06:58 UTC 
(rev 306428)
@@ -403,6 +403,7 @@
 #endif

        if (strlen(personal) != personal_len) {
+               delete_pspell_config(config);
                RETURN_FALSE;
        }


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to