From 1be2e9116bab115350ea0346aa1dfabf79313b2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Thu, 10 Sep 2009 21:25:57 +0000 Subject: [PATCH] * fix summary view Loading and freeing --- webcit/summary.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } /* -- 2.39.2