# HG changeset patch # User Stu Tomlinson # Date 1114956037 0 # Node ID 175167f62c28d1c63b623bea012833c5f3e5775a # Parent 8175206faa3d007366377491de5fda12f2a904fb [gaim-migrate @ 12603] Plug a small leak in whispered messages and handle messages that are missing flags a bit better. committer: Tailor Script diff -r 8175206faa3d -r 175167f62c28 src/gtkconv.c --- a/src/gtkconv.c Fri Apr 29 22:08:04 2005 +0000 +++ b/src/gtkconv.c Sun May 01 14:00:37 2005 +0000 @@ -4881,11 +4881,15 @@ } else if (flags & GAIM_MESSAGE_SEND) strcpy(color, SEND_COLOR); + else { + gaim_debug_error("gtkconv", "message missing flags\n"); + strcpy(color, "#000000"); + } } - - if(who_escaped) - g_free(who_escaped); } + + if(who_escaped) + g_free(who_escaped); g_snprintf(buf2, BUF_LONG, "" "%s ",