changeset 5987:6e19ad2ef712

[gaim-migrate @ 6435] Fixed Cae Bug #5. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 02 Jul 2003 09:06:10 +0000
parents 96e0ac28d933
children 4b2bc256d28a
files src/gtkconn.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconn.c	Wed Jul 02 08:57:43 2003 +0000
+++ b/src/gtkconn.c	Wed Jul 02 09:06:10 2003 +0000
@@ -47,6 +47,9 @@
 
 static void cancel_signon(GtkWidget *button, struct signon_meter *meter)
 {
+	if (gc == NULL)
+		return;
+
 	meter->account->gc->wants_to_die = TRUE;
 	gaim_connection_destroy(meter->account->gc);
 }