pidgin: c288d064: unleak (thanks sadrul!)

nosnilmot at pidgin.im nosnilmot at pidgin.im
Tue May 13 17:00:46 EDT 2008


-----------------------------------------------------------------
Revision: c288d0643553d34e59fdea43517c6eb2cd40852d
Ancestor: cbede2f88991998ec9540dca4e07109805ecde02
Author: nosnilmot at pidgin.im
Date: 2008-05-13T20:54:30
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c288d0643553d34e59fdea43517c6eb2cd40852d

Modified files:
        libpurple/protocols/msn/session.c
        libpurple/protocols/msnp9/session.c

ChangeLog: 

unleak (thanks sadrul!)

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/session.c	11baad00af42bc05e92d5c687db8233e036f4085
+++ libpurple/protocols/msn/session.c	6821ee765956bb224d5070537f749c101f84bd70
@@ -338,6 +338,7 @@ msn_session_sync_users(MsnSession *sessi
 
 	if (to_remove != NULL) {
 		g_list_foreach(to_remove, (GFunc)purple_blist_remove_buddy, NULL);
+		g_list_free(to_remove);
 	}
 }
 
============================================================
--- libpurple/protocols/msnp9/session.c	771431314d4fafdad343b43e71e5be72b97cf2a8
+++ libpurple/protocols/msnp9/session.c	7f20729832b347ebd412f5013eb18bf5ec40cd87
@@ -290,6 +290,7 @@ msn_session_sync_users(MsnSession *sessi
 
 	if (to_remove != NULL) {
 		g_list_foreach(to_remove, (GFunc)purple_blist_remove_buddy, NULL);
+		g_list_free(to_remove);
 	}
 }
 


More information about the Commits mailing list