changeset 13459:3e27ed592e02

[gaim-migrate @ 15834] CID 19 (NULL deref.) committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 08 Mar 2006 04:26:06 +0000
parents 6e50059617d3
children ca43d58cdc43
files src/protocols/yahoo/yahoo_doodle.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_doodle.c	Wed Mar 08 04:23:37 2006 +0000
+++ b/src/protocols/yahoo/yahoo_doodle.c	Wed Mar 08 04:26:06 2006 +0000
@@ -380,6 +380,8 @@
 	GaimAccount *account;
 	GaimWhiteboard *wb;
 
+	g_return_if_fail(from != NULL);
+
 	gaim_debug_info("yahoo", "doodle: Got Shutdown (%s)\n", from);
 
 	account = gaim_connection_get_account(gc);