diff -r d7bba1ea597b -r c566c1227cc4 pidgin/gtkconv.c --- a/pidgin/gtkconv.c Wed Dec 23 07:47:14 2009 +0000 +++ b/pidgin/gtkconv.c Thu Dec 31 00:33:12 2009 +0000 @@ -5493,10 +5493,12 @@ } /* Somebody wants to keep this conversation around, so don't time it out */ - timer = GPOINTER_TO_INT(purple_conversation_get_data(conv, "close-timer")); - if (timer) { - purple_timeout_remove(timer); - purple_conversation_set_data(conv, "close-timer", GINT_TO_POINTER(0)); + if (conv) { + timer = GPOINTER_TO_INT(purple_conversation_get_data(conv, "close-timer")); + if (timer) { + purple_timeout_remove(timer); + purple_conversation_set_data(conv, "close-timer", GINT_TO_POINTER(0)); + } } }