projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93e70dc
)
* just destroy it if we allocated it
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 7 May 2009 22:40:33 +0000
(22:40 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 7 May 2009 22:40:33 +0000
(22:40 +0000)
webcit/vcard_edit.c
patch
|
blob
|
history
diff --git
a/webcit/vcard_edit.c
b/webcit/vcard_edit.c
index 7e9355abf647c5e4f9b47bdb0983ee82a1da7840..826a351423ff0e70fb238de2b412d4583a9e74bb 100644
(file)
--- a/
webcit/vcard_edit.c
+++ b/
webcit/vcard_edit.c
@@
-1054,7
+1054,8
@@
void do_edit_vcard(long msgnum, char *partnum,
wprintf("</td></tr></table>\n");
do_template("endbox", NULL);
wDumpContent(1);
- DestroyMessageSummary(Msg);
+ if (Msg != NULL)
+ DestroyMessageSummary(Msg);
}