im.pidgin.pidgin: 61346ebfdbe38e90d131141a7fa41abeda7984c5

datallah at pidgin.im datallah at pidgin.im
Fri Oct 5 12:25:35 EDT 2007


revision:            61346ebfdbe38e90d131141a7fa41abeda7984c5
date:                2007-10-05T16:22:03
author:              datallah at pidgin.im
branch:              im.pidgin.pidgin
changelog:
Leak fix.

manifest:
format_version "1"

new_manifest [7f8a1837a01ed905d6200901964b868a99aac3d3]

old_revision [f58e560be58adb833d16bf34274e26bcf5ded1cd]

patch "libpurple/protocols/msn/contact.c"
 from [b8e3ab4b18772d098bd0913589611a1e8b5989a3]
   to [905e9168592f380c73e03a91627151daa85b077d]
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/contact.c	b8e3ab4b18772d098bd0913589611a1e8b5989a3
+++ libpurple/protocols/msn/contact.c	905e9168592f380c73e03a91627151daa85b077d
@@ -208,7 +208,7 @@ static MsnListId
 
 /*get MSN member role utility*/
 static MsnListId
-msn_get_memberrole(char *role)
+msn_get_memberrole(const char *role)
 {
 	g_return_val_if_fail(role != NULL, 0);
 
@@ -532,8 +532,8 @@ msn_parse_contact_list(MsnContact * cont
 					}
 				}
 			}
-			g_free(typedata);	/* Free 'Type' node data after processing 'Messenger' Service */
 		}
+		g_free(typedata);
 	}
 
 	xmlnode_free(node);	/* Free the whole XML tree */


More information about the Commits mailing list