Mercurial > pidgin.yaz
changeset 18134:9b2cd6920475
Fix #1726. ('Crash when closing doodle with yahoo not connected')
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 16 Jun 2007 23:30:55 +0000 |
parents | 31685102ee94 |
children | 5114739a4169 |
files | libpurple/protocols/yahoo/yahoo_doodle.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_doodle.c Sat Jun 16 23:11:41 2007 +0000 +++ b/libpurple/protocols/yahoo/yahoo_doodle.c Sat Jun 16 23:30:55 2007 +0000 @@ -491,7 +491,8 @@ /* g_debug_debug("yahoo", "doodle: yahoo_doodle_end()\n"); */ - yahoo_doodle_command_send_shutdown(gc, wb->who); + if (gc) + yahoo_doodle_command_send_shutdown(gc, wb->who); g_free(wb->proto_data); }