Mercurial > masqmail
comparison src/message.c @ 81:71ce3a1568e9
moved check for NULL into destroy_message()
author | meillo@marmaro.de |
---|---|
date | Sat, 19 Jun 2010 11:14:34 +0200 |
parents | 26e34ae9a3e3 |
children | 7f1f364c2a29 |
comparison
equal
deleted
inserted
replaced
80:e5090ac234cf | 81:71ce3a1568e9 |
---|---|
90 | 90 |
91 void | 91 void |
92 destroy_message(message * msg) | 92 destroy_message(message * msg) |
93 { | 93 { |
94 GList *node; | 94 GList *node; |
95 | |
96 if (!msg) { | |
97 return; | |
98 } | |
95 | 99 |
96 if (msg->uid) | 100 if (msg->uid) |
97 g_free(msg->uid); | 101 g_free(msg->uid); |
98 if (msg->ident) | 102 if (msg->ident) |
99 g_free(msg->ident); | 103 g_free(msg->ident); |