From: Wilfried Göesgens Date: Thu, 10 Sep 2009 21:25:57 +0000 (+0000) Subject: * fix summary view Loading and freeing X-Git-Tag: v7.86~854 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=1be2e9116bab115350ea0346aa1dfabf79313b2a;p=citadel.git * fix summary view Loading and freeing --- diff --git a/webcit/summary.c b/webcit/summary.c index 925d42693..02c936c93 100644 --- a/webcit/summary.c +++ b/webcit/summary.c @@ -131,9 +131,8 @@ void calendar_section(void) { void *vMsg; message_summary *Msg; wcsession *WCC = WC; - calview c; StrBuf *Buf; - void *v = &c; + void *v = NULL; SharedMessageStatus Stat; memset(&Stat, 0, sizeof(SharedMessageStatus)); @@ -151,7 +150,7 @@ void calendar_section(void) { num_msgs = load_msg_ptrs("MSGS ALL", &Stat); } calendar_GetParamsGetServerCall(&Stat, - &c, + &v, readnew, cmd, sizeof(cmd)); @@ -169,6 +168,7 @@ void calendar_section(void) { wprintf(_("(Nothing)")); wprintf("
\n"); } + calendar_Cleanup(&v); } /*