masqmail-0.2

diff 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
line diff
     1.1 --- a/src/message.c	Sat Jun 19 11:11:28 2010 +0200
     1.2 +++ b/src/message.c	Sat Jun 19 11:14:34 2010 +0200
     1.3 @@ -93,6 +93,10 @@
     1.4  {
     1.5  	GList *node;
     1.6  
     1.7 +	if (!msg) {
     1.8 +		return;
     1.9 +	}
    1.10 +
    1.11  	if (msg->uid)
    1.12  		g_free(msg->uid);
    1.13  	if (msg->ident)