im.pidgin.pidgin: 7b9018783b685f2d50ddc632b6d474828d7ab4cf

datallah at pidgin.im datallah at pidgin.im
Mon Jan 14 14:50:47 EST 2008


-----------------------------------------------------------------
Revision: 7b9018783b685f2d50ddc632b6d474828d7ab4cf
Ancestor: 18490886e6ced71f873dabe23516c5d3d16f0b29
Author: datallah at pidgin.im
Date: 2008-01-14T19:42:14
Branch: im.pidgin.pidgin

Modified files:
        libpurple/account.c pidgin/gtkblist.c

ChangeLog: 

Plug a small leak.

-------------- next part --------------
============================================================
--- libpurple/account.c	470cb78fcf962b8b258a62c7ac6758fa94b55256
+++ libpurple/account.c	3222057e6c050dd6e14b726c94ce5570f19a507e
@@ -752,7 +752,7 @@ parse_current_error(xmlnode *node, Purpl
 
 	current_error = g_new0(PurpleConnectionErrorInfo, 1);
 	current_error->type = type;
-	current_error->description = g_strdup(description);
+	current_error->description = description;
 
 	set_current_error(account, current_error);
 }
============================================================
--- pidgin/gtkblist.c	799b363d2e604eb3211266efd0c8e06c046bee98
+++ pidgin/gtkblist.c	079a3f5cfa5d3df520c5207875ceb0c8b75f12d2
@@ -4143,12 +4143,11 @@ static void pidgin_blist_new_list(Purple
 static void pidgin_blist_new_list(PurpleBuddyList *blist)
 {
 	PidginBuddyList *gtkblist;
-	PidginBuddyListPrivate *priv;
 
 	gtkblist = g_new0(PidginBuddyList, 1);
 	gtkblist->connection_errors = g_hash_table_new_full(g_direct_hash,
 												g_direct_equal, NULL, g_free);
-	gtkblist->priv = priv = g_new0(PidginBuddyListPrivate, 1);
+	gtkblist->priv = g_new0(PidginBuddyListPrivate, 1);
 
 	blist->ui_data = gtkblist;
 }


More information about the Commits mailing list