src/away.c

changeset 9674
fff36654774b
parent 9606
f5a6e772fc9f
child 9699
d1ca5dd91cc2
--- a/src/away.c	Thu Aug 05 14:55:58 2004 +0000
+++ b/src/away.c	Thu Aug 05 16:24:54 2004 +0000
@@ -197,7 +197,8 @@
 	awaymessage = NULL;
 	awayqueue = NULL;
 	awayqueuesw = NULL;
-	g_object_unref(G_OBJECT(awayqueuestore));
+	if (awayqueuestore != NULL)
+		g_object_unref(G_OBJECT(awayqueuestore));
 	awayqueuestore = NULL;
 	serv_set_away_all(NULL);
 }

mercurial