diff options
author | Dom Lachowicz <domlachowicz@gmail.com> | 2006-05-06 16:19:59 +0000 |
---|---|---|
committer | Dom Lachowicz <domlachowicz@gmail.com> | 2006-05-06 16:19:59 +0000 |
commit | d370d9fe84bd6992daca6417173f1e830929e2de (patch) | |
tree | 3f8ffbe9baf4057277c26224d71c9f7da74c631b | |
parent | 81037f9142c4375cb868cd459d58508aed486656 (diff) | |
download | enchant-d370d9fe84bd6992daca6417173f1e830929e2de.tar.gz |
fix memory leak
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@21133 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | src/enchant.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/enchant.c b/src/enchant.c index 158cabe..df89fd7 100644 --- a/src/enchant.c +++ b/src/enchant.c @@ -993,6 +993,8 @@ enchant_dict_destroyed (gpointer data) if (owner && owner->dispose_dict) (*owner->dispose_dict) (owner, dict); + else if(session->is_pwl) + g_free (dict); enchant_session_destroy (session); } |