aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/vee/camel-vee-folder.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 10d19491e0..67df5216d5 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-31 Peter Williams <peterw@helixcode.com>
+
+ * providers/vee/camel-vee-folder.c (vee_search_by_expression): Add a NULL
+ to the matches pointer array so that g_strfreev knows where the end is.
+
2000-07-31 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-utils.c (imap_translate_sexp): New
diff --git a/camel/providers/vee/camel-vee-folder.c b/camel/providers/vee/camel-vee-folder.c
index 8c9109db91..2dc11d966a 100644
--- a/camel/providers/vee/camel-vee-folder.c
+++ b/camel/providers/vee/camel-vee-folder.c
@@ -385,6 +385,7 @@ vee_search_by_expression(CamelFolder *folder, const char *expression, CamelExcep
char *uid = matches->pdata[i];
g_ptr_array_add(result, g_strdup_printf("%p:%s", f, uid));
}
+ g_ptr_array_add (matches, NULL);
g_strfreev((char **)matches->pdata);
g_ptr_array_free(matches, FALSE);
node = g_list_next(node);