]> granicus.if.org Git - php/commitdiff
- fix leak introduced by the null poisoning patch
authorPierre Joye <pajoye@php.net>
Sat, 18 Dec 2010 12:06:58 +0000 (12:06 +0000)
committerPierre Joye <pajoye@php.net>
Sat, 18 Dec 2010 12:06:58 +0000 (12:06 +0000)
ext/pspell/pspell.c

index 0a291902a19331388cc6a52bc8f5753a17f5ab8d..80441e055bc96a8b5d54702cac2696cff6eed2ea 100644 (file)
@@ -403,6 +403,7 @@ static PHP_FUNCTION(pspell_new_personal)
 #endif
 
        if (strlen(personal) != personal_len) {
+               delete_pspell_config(config);
                RETURN_FALSE;
        }