# HG changeset patch # User Sadrul Habib Chowdhury # Date 1170396543 0 # Node ID 29e8e230d1b600a8bc75a1ea6f5fb1d82c40726f # Parent d562dbb64e70b1cc8c26f81be40c6b0aad7edc21 A small memory leak in the tooltip. Bring back the separator horizontal line in a multi-buddy contact's tooltip. diff -r d562dbb64e70 -r 29e8e230d1b6 pidgin/gtkblist.c --- a/pidgin/gtkblist.c Fri Feb 02 04:38:35 2007 +0000 +++ b/pidgin/gtkblist.c Fri Feb 02 06:09:03 2007 +0000 @@ -2265,6 +2265,7 @@ td->avatar_width = gdk_pixbuf_get_width(td->avatar); td->avatar_height = gdk_pixbuf_get_height(td->avatar); + g_free(node_name); g_free(tooltip_text); return td; } @@ -2343,6 +2344,9 @@ TOOLTIP_BORDER + STATUS_SIZE + SMALL_SPACE, current_height + td->name_height, td->layout); current_height += MAX(td->name_height + td->height, td->avatar_height) + TOOLTIP_BORDER; + if(l->next) + gtk_paint_hline(style, gtkblist->tipwindow->window, GTK_STATE_NORMAL, + NULL, NULL, NULL, 4, max_width - 4, current_height-6); } }