Peter,
On second look please test this patch against rev 2579 vanila:
Index: dbmail-mailbox.c
===================================================================
--- dbmail-mailbox.c (revision 2579)
+++ dbmail-mailbox.c (working copy)
@@ -1313,7 +1313,7 @@
GTree * dbmail_mailbox_get_set(struct DbmailMailbox *self, const char
*set, gboolean uid)
{
- GList *ids = NULL, *sets = NULL;
+ GList *topids, *ids = NULL, *sets = NULL;
GString *t;
char *rest;
u64_t i, l, r, lo = 0, hi = 0;
@@ -1330,12 +1330,13 @@
TRACE(TRACE_DEBUG,"[%s] uid [%d]", set, uid);
if (uid) {
- ids = g_tree_keys(self->ids);
- ids = g_list_last(ids);
+ topids = g_tree_keys(self->ids);
+ ids = g_list_last(topids);
hi = *((u64_t *)ids->data);
- ids = g_list_first(ids);
+ ids = g_list_first(topids);
lo = *((u64_t *)ids->data);
- g_list_free(g_list_first(ids));
+ //g_list_free(g_list_first(ids));
+ g_list_free(topids);
} else {
lo = 1;
hi = g_tree_nnodes(self->ids);
I think it was cause you tried to use my patch from the old code and
Paul's changes might have not helped. let me know
Thanks,
Leif
Peter Rabbitson wrote:
Leif Jackson wrote:
Peter try 2579 with my changes from the previous message.
Same. Logs at
http://rabbit.us/pool/misc/bug584_memcheck_svn2579_LJpatch.tar.bz2
Peter
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev