# HG changeset patch # User Daniel Atallah # Date 1128296459 0 # Node ID 4b7fb30b8926dc0e483b130c9067f9ec46eda105 # Parent f21d4310717e182059bdaca307a549e920a2c9e3 [gaim-migrate @ 13863] Some valgrinding fixes from Levi Bard. committer: Tailor Script diff -r f21d4310717e -r 4b7fb30b8926 plugins/spellchk.c --- a/plugins/spellchk.c Sun Oct 02 21:16:05 2005 +0000 +++ b/plugins/spellchk.c Sun Oct 02 23:40:59 2005 +0000 @@ -168,13 +168,18 @@ g_value_unset(&val0); g_value_unset(&val1); g_value_unset(&val2); + g_free(text); return TRUE; } + g_value_unset(&val0); + g_value_unset(&val1); + g_value_unset(&val2); } while (gtk_tree_model_iter_next(GTK_TREE_MODEL(model), &treeiter)); } + g_free(text); return FALSE; } diff -r f21d4310717e -r 4b7fb30b8926 src/account.c --- a/src/account.c Sun Oct 02 21:16:05 2005 +0000 +++ b/src/account.c Sun Oct 02 23:40:59 2005 +0000 @@ -782,6 +782,8 @@ new_acct = parse_account(child); gaim_accounts_add(new_acct); } + + xmlnode_free(node); } diff -r f21d4310717e -r 4b7fb30b8926 src/gtkstatusbox.c --- a/src/gtkstatusbox.c Sun Oct 02 21:16:05 2005 +0000 +++ b/src/gtkstatusbox.c Sun Oct 02 23:40:59 2005 +0000 @@ -221,6 +221,7 @@ GtkTextBuffer *buffer; GdkPixbuf *pixbuf, *pixbuf2, *pixbuf3, *pixbuf4; GtkIconSize icon_size; + GtkTreePath *path; text_rend = gtk_cell_renderer_text_new(); icon_rend = gtk_cell_renderer_pixbuf_new(); @@ -262,7 +263,9 @@ gtk_combo_box_set_wrap_width(GTK_COMBO_BOX(status_box), 0); gtk_list_store_append(status_box->store, &(status_box->iter)); gtk_gaim_status_box_refresh(status_box); - gtk_cell_view_set_displayed_row(GTK_CELL_VIEW(status_box->cell_view), gtk_tree_path_new_from_string("0")); + path = gtk_tree_path_new_from_string("0"); + gtk_cell_view_set_displayed_row(GTK_CELL_VIEW(status_box->cell_view), path); + gtk_tree_path_free(path); gtk_container_add(GTK_CONTAINER(status_box), status_box->cell_view); status_box->icon_rend = gtk_cell_renderer_pixbuf_new(); diff -r f21d4310717e -r 4b7fb30b8926 src/protocols/yahoo/yahoochat.c --- a/src/protocols/yahoo/yahoochat.c Sun Oct 02 21:16:05 2005 +0000 +++ b/src/protocols/yahoo/yahoochat.c Sun Oct 02 23:40:59 2005 +0000 @@ -553,6 +553,7 @@ serv_got_chat_in(gc, YAHOO_CHAT_ID, who, 0, msg, time(NULL)); g_free(msg); + g_free(room); } void yahoo_process_chat_addinvite(GaimConnection *gc, struct yahoo_packet *pkt)