summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Albright <eric_albright@sil.org>2007-11-20 13:44:31 +0000
committerEric Albright <eric_albright@sil.org>2007-11-20 13:44:31 +0000
commit013af6814443e957c3a8bd428697a0d36a4fc0ed (patch)
treec1d73712db4f14faf6ce88a7ffb08dcce2275c95
parentf7b35598beb4310ac54256b1d7b98445291eb028 (diff)
downloadenchant-013af6814443e957c3a8bd428697a0d36a4fc0ed.tar.gz
fix other case of memory leak introduced in r22318
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22320 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r--src/enchant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/enchant.c b/src/enchant.c
index b7cf44a..828a3e2 100644
--- a/src/enchant.c
+++ b/src/enchant.c
@@ -592,6 +592,7 @@ enchant_dict_merge_suggestions(EnchantDict * dict,
if(strcmp(normalized_sugg,normalized_new_sugg)==0)
{
copy = 0; /*duplicate*/
+ g_free(normalized_sugg);
break;
}
g_free(normalized_sugg);