Mercurial > pidgin
changeset 11593:4b7fb30b8926
[gaim-migrate @ 13863]
Some valgrinding fixes from Levi Bard.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 02 Oct 2005 23:40:59 +0000 |
parents | f21d4310717e |
children | 8ee38f9428d5 |
files | plugins/spellchk.c src/account.c src/gtkstatusbox.c src/protocols/yahoo/yahoochat.c |
diffstat | 4 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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; }
--- 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); }
--- 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();
--- 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)