diff src/away.c @ 9674:a049733e41f3

[gaim-migrate @ 10526] Fix for "gaim-remote back" printing a gdk error when you weren't away (from me) Some white space fixes (from me and Bjoern) Fix for "gaim-remote -h away" not actually showing help (from Bjoern) committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 05 Aug 2004 16:24:54 +0000
parents 03be9d653123
children 267eab8f3fa4
line wrap: on
line diff
--- 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);
 }