diff options
author | Pierre Joye <pajoye@php.net> | 2004-03-09 01:57:53 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2004-03-09 01:57:53 +0000 |
commit | 451e295d099884f9a1cdac6face13fa5793fbf53 (patch) | |
tree | 8d16a7dc7e288a7eb8aec54b47ec059dce5f0172 /ext/enchant | |
parent | 3093399928fafe2b441148ed6fb7e06c38574452 (diff) | |
download | php-git-451e295d099884f9a1cdac6face13fa5793fbf53.tar.gz |
- Fix sugg only if it exists...
Diffstat (limited to 'ext/enchant')
-rwxr-xr-x | ext/enchant/enchant.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/enchant/enchant.c b/ext/enchant/enchant.c index 4aa73c4e20..0428a18ad0 100755 --- a/ext/enchant/enchant.c +++ b/ext/enchant/enchant.c @@ -531,8 +531,9 @@ PHP_FUNCTION(enchant_dict_quick_check) for (i = 0; i < n_sugg; i++) { add_next_index_string(sugg, suggs[i], 1); } + enchant_dict_free_suggestions(pdict->pdict, suggs); } - enchant_dict_free_suggestions(pdict->pdict, suggs); + RETURN_FALSE; } |