Sun, 01 May 2005 14:00:37 +0000
[gaim-migrate @ 12603]
Plug a small leak in whispered messages and handle messages that are
missing flags a bit better.
| src/gtkconv.c | file | annotate | diff | comparison | revisions |
--- 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, "<FONT COLOR=\"%s\" %s><FONT SIZE=\"2\"><!--(%s) --></FONT>" "<B>%s</B></FONT> ",