blob: 2015d879bb373ee6898d14e0b99da38a1e624ad3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp b/Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp
index d2d2c6f..905ca5b 100644
--- a/Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp
+++ b/Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp
@@ -128,7 +128,7 @@ Vector<String> TextCheckerEnchant::getGuessesForWord(const String& word)
for (i = 0; i < numberOfSuggestions; i++)
guesses.append(String::fromUTF8(suggestions[i]));
- enchant_dict_free_suggestions(*iter, suggestions);
+ enchant_dict_free_string_list(*iter, suggestions);
}
return guesses;
|