]> granicus.if.org Git - php/commitdiff
- free sugg
authorPierre Joye <pajoye@php.net>
Tue, 9 Mar 2004 01:57:01 +0000 (01:57 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 9 Mar 2004 01:57:01 +0000 (01:57 +0000)
ext/enchant/enchant.c

index 170027934594902a18642079eba58e13c4e1a5e5..4aa73c4e20b9b7ecee1fa33ffc64f941575bdd26 100755 (executable)
@@ -532,6 +532,8 @@ PHP_FUNCTION(enchant_dict_quick_check)
                                add_next_index_string(sugg, suggs[i], 1);
                        }
                }
+               enchant_dict_free_suggestions(pdict->pdict, suggs);
+
                RETURN_FALSE;
        }
        RETURN_TRUE;