From 9e2dd6c9c9ba337755ba58f0bbbce271ef14545b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Thu, 7 May 2009 22:40:33 +0000 Subject: [PATCH] * just destroy it if we allocated it --- webcit/vcard_edit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webcit/vcard_edit.c b/webcit/vcard_edit.c index 7e9355abf..826a35142 100644 --- a/webcit/vcard_edit.c +++ b/webcit/vcard_edit.c @@ -1054,7 +1054,8 @@ void do_edit_vcard(long msgnum, char *partnum, wprintf("\n"); do_template("endbox", NULL); wDumpContent(1); - DestroyMessageSummary(Msg); + if (Msg != NULL) + DestroyMessageSummary(Msg); } -- 2.30.2