# HG changeset patch # User Stu Tomlinson # Date 1160240954 0 # Node ID 37bb5e4873472277fa2f6669ac2dbb0dc9ff5d17 # Parent c675559dfdb2026177fef4d3f4b71fe2c9b5c404 [gaim-migrate @ 17440] Fix Coverity CID 291 - don't dereference conv before the NULL check committer: Tailor Script diff -r c675559dfdb2 -r 37bb5e487347 console/gntconv.c --- a/console/gntconv.c Sat Oct 07 17:05:27 2006 +0000 +++ b/console/gntconv.c Sat Oct 07 17:09:14 2006 +0000 @@ -234,11 +234,12 @@ char *title, *old_title; conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_IM, who, account); - im = GAIM_CONV_IM(conv); if (!conv) return; + im = GAIM_CONV_IM(conv); + if (gaim_conv_im_get_typing_state(im) == GAIM_TYPING) { old_title = get_conversation_title(conv, account); title = g_strdup_printf(_("%s [%s]"), old_title,