diff options
author | chenxiajian <chenxiajian1985@gmail.com> | 2011-08-25 16:55:38 +0000 |
---|---|---|
committer | chenxiajian <chenxiajian1985@gmail.com> | 2011-08-25 16:55:38 +0000 |
commit | 3a32c51432f080dc79ca7027617fe81d156fe13f (patch) | |
tree | f308256bb528b73e208189bb0d1041a2507db130 | |
parent | 2e7f71497eeea4dac0a2ffbb0d0dc1e5b8a44604 (diff) | |
download | enchant-3a32c51432f080dc79ca7027617fe81d156fe13f.tar.gz |
[Bug 12811] apply patch: Memory leak in aspell provider
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2011hyphenation@30289 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | src/aspell/aspell_provider.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/aspell/aspell_provider.c b/src/aspell/aspell_provider.c index 79a221b..cfee5a0 100644 --- a/src/aspell/aspell_provider.c +++ b/src/aspell/aspell_provider.c @@ -262,6 +262,8 @@ aspell_provider_list_dicts (EnchantProvider * me, while ( (entry = aspell_dict_info_enumeration_next(dels)) != 0) (*out_n_dicts)++; + delete_aspell_dict_info_enumeration (dels); + if (*out_n_dicts) { size_t i; |