From: Pierre Joye Date: Sat, 18 Dec 2010 12:06:58 +0000 (+0000) Subject: - fix leak introduced by the null poisoning patch X-Git-Tag: php-5.3.6RC1~206 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=349082267f9cbef51855612215cdd141d0798faa;p=php - fix leak introduced by the null poisoning patch --- diff --git a/ext/pspell/pspell.c b/ext/pspell/pspell.c index 0a291902a1..80441e055b 100644 --- a/ext/pspell/pspell.c +++ b/ext/pspell/pspell.c @@ -403,6 +403,7 @@ static PHP_FUNCTION(pspell_new_personal) #endif if (strlen(personal) != personal_len) { + delete_pspell_config(config); RETURN_FALSE; }