[evolution-data-server/gnome-2-26] ** BUGFIX: 573170 - Add back support for vfolder of vfolders.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution-data-server/gnome-2-26] ** BUGFIX: 573170 - Add back support for vfolder of vfolders.
- Date: Sun, 3 May 2009 11:19:25 -0400 (EDT)
commit 1749a8c9c1442eee13f6824bc8a0476d93b44e6c
Author: Srinivasa Ragavan <sragavan novell com>
Date: Sun May 3 20:31:52 2009 +0530
** BUGFIX: 573170 - Add back support for vfolder of vfolders.
Handle uids as pstrings and ref them instead of duping.
---
camel/camel-vee-folder.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/camel/camel-vee-folder.c b/camel/camel-vee-folder.c
index 611cfb2..0b39cf6 100644
--- a/camel/camel-vee-folder.c
+++ b/camel/camel-vee-folder.c
@@ -793,7 +793,8 @@ vee_search_by_uids(CamelFolder *folder, const char *expression, GPtrArray *uids,
vuid = g_malloc(strlen(uid)+9);
memcpy(vuid, hash, 8);
strcpy(vuid+8, uid);
- g_ptr_array_add(result, vuid);
+ g_ptr_array_add(result, camel_pstring_strdup(vuid));
+ g_free(vuid);
}
camel_folder_search_free(f, matches);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]