diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-06-13 15:25:52 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-06-13 15:25:52 +0800 |
commit | e69481e6e73be3402c9d108802112eeffcb2e7ad (patch) | |
tree | 2e56e23e1d290a3b3c7f3d5688b7d5784de72821 | |
parent | 028014bf8febccf17360dbf7153b1b888a00bd7c (diff) | |
download | gsoc2013-evolution-e69481e6e73be3402c9d108802112eeffcb2e7ad.tar.gz gsoc2013-evolution-e69481e6e73be3402c9d108802112eeffcb2e7ad.tar.zst gsoc2013-evolution-e69481e6e73be3402c9d108802112eeffcb2e7ad.zip |
Free the fail_states array.
2003-06-12 Jeffrey Stedfast <fejj@ximian.com>
* e-trie.c (e_trie_free): Free the fail_states array.
svn path=/trunk/; revision=21429
-rw-r--r-- | e-util/ChangeLog | 4 | ||||
-rw-r--r-- | e-util/e-trie.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 8a7bdf962b..f3413d10de 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,7 @@ +2003-06-12 Jeffrey Stedfast <fejj@ximian.com> + + * e-trie.c (e_trie_free): Free the fail_states array. + 2003-05-30 Jeffrey Stedfast <fejj@ximian.com> * e-meta.c (meta_load): Stat the file to make sure it exists diff --git a/e-util/e-trie.c b/e-util/e-trie.c index a2eb5dd9c8..2edf94df34 100644 --- a/e-util/e-trie.c +++ b/e-util/e-trie.c @@ -124,6 +124,7 @@ e_trie_new (gboolean icase) void e_trie_free (ETrie *trie) { + g_ptr_array_free (trie->fail_states, TRUE); e_memchunk_destroy (trie->match_chunks); e_memchunk_destroy (trie->state_chunks); g_free (trie); |