im.pidgin.pidgin: 8ea56bd2b50199c3ddaa49182dbce3972cde7133

datallah at pidgin.im datallah at pidgin.im
Mon Oct 8 10:30:43 EDT 2007


revision:            8ea56bd2b50199c3ddaa49182dbce3972cde7133
date:                2007-10-08T14:25:54
author:              datallah at pidgin.im
branch:              im.pidgin.pidgin
changelog:
Fix a leak when a bonjour account is disconnected.

manifest:
format_version "1"

new_manifest [83137101b72745c3ec61c369e50f4221d61c2984]

old_revision [1c0103d2aa37e95f5292ce8d13221062a783700a]

patch "libpurple/protocols/bonjour/bonjour.c"
 from [64780fa8de009d3f0535aae3bc3d10505be400da]
   to [35660039ccb51a82ef794cd00cbf4464ce229dce]
-------------- next part --------------
============================================================
--- libpurple/protocols/bonjour/bonjour.c	64780fa8de009d3f0535aae3bc3d10505be400da
+++ libpurple/protocols/bonjour/bonjour.c	35660039ccb51a82ef794cd00cbf4464ce229dce
@@ -188,6 +188,8 @@ bonjour_close(PurpleConnection *connecti
 	if (bonjour_group != NULL)
 		purple_blist_remove_group(bonjour_group);
 
+	g_free(bd);
+	connection->proto_data = NULL;
 }
 
 static const char *
@@ -581,7 +583,7 @@ static gpointer _win32_name_lookup_threa
 			fullname = g_utf16_to_utf8(username, -1, NULL, NULL, NULL);
 	}
 
-	g_idle_add(_set_default_name_cb, fullname);
+	purple_timeout_add(0, _set_default_name_cb, fullname);
 
 	return NULL;
 }


More information about the Commits mailing list