im.pidgin.pidgin: d50ecf4dc52f25cbd219d6c19846436dec5a8853

datallah at pidgin.im datallah at pidgin.im
Thu Oct 4 23:55:46 EDT 2007


revision:            d50ecf4dc52f25cbd219d6c19846436dec5a8853
date:                2007-10-05T03:52:44
author:              datallah at pidgin.im
branch:              im.pidgin.pidgin
changelog:
Fix small leak.

manifest:
format_version "1"

new_manifest [24f4104c0a5b7d80f9b5a292744b4564e514c797]

old_revision [6b5f1f48667171fe73de619dd8f80cacd231a2e2]

patch "libpurple/protocols/jabber/google.c"
 from [1d29e418ebc78cd7a3430296f02c52dcb3781cbf]
   to [da699c80eadf16d9733542a67a873f0c6710845f]
-------------- next part --------------
#
#
# patch "libpurple/protocols/jabber/google.c"
#  from [1d29e418ebc78cd7a3430296f02c52dcb3781cbf]
#    to [da699c80eadf16d9733542a67a873f0c6710845f]
#
============================================================
--- libpurple/protocols/jabber/google.c	1d29e418ebc78cd7a3430296f02c52dcb3781cbf
+++ libpurple/protocols/jabber/google.c	da699c80eadf16d9733542a67a873f0c6710845f
@@ -231,7 +231,7 @@ gboolean jabber_google_roster_incoming(J
 	const char *jid = xmlnode_get_attrib(item, "jid");
 	gboolean on_block_list = FALSE;
 
-	char *jid_norm = g_strdup(jabber_normalize(account, jid));
+	char *jid_norm;
 
 	const char *grt = xmlnode_get_attrib_with_namespace(item, "t", "google:roster");
 	const char *subscription = xmlnode_get_attrib(item, "subscription");
@@ -243,6 +243,8 @@ gboolean jabber_google_roster_incoming(J
 		return FALSE;
 	}
 
+ 	jid_norm = g_strdup(jabber_normalize(account, jid));
+
 	while (list) {
 		if (!strcmp(jid_norm, (char*)list->data)) {
 			on_block_list = TRUE;


More information about the Commits mailing list