[evolution-patches] e-trie.c leak fix
- From: Jeffrey Stedfast <fejj ximian com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] e-trie.c leak fix
- Date: 12 Jun 2003 01:12:08 -0400
oops, don't leak the fail_states array.
--
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com - www.ximian.com
? leak.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/e-util/ChangeLog,v
retrieving revision 1.394
diff -u -r1.394 ChangeLog
--- ChangeLog 10 Jun 2003 20:44:25 -0000 1.394
+++ ChangeLog 12 Jun 2003 04:57:37 -0000
@@ -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
Index: e-trie.c
===================================================================
RCS file: /cvs/gnome/evolution/e-util/e-trie.c,v
retrieving revision 1.10
diff -u -r1.10 e-trie.c
--- e-trie.c 21 Mar 2003 00:46:26 -0000 1.10
+++ e-trie.c 12 Jun 2003 04:57:37 -0000
@@ -124,6 +124,7 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]