im.pidgin.pidgin.2.2.3: 1ae7bab2d86d4fb77e82e0c2fd0e7f44329604ab

datallah at pidgin.im datallah at pidgin.im
Fri Oct 26 01:15:41 EDT 2007


-----------------------------------------------------------------
Revision: 1ae7bab2d86d4fb77e82e0c2fd0e7f44329604ab
Ancestor: df736f0509a9c17cf47058d700e092e8dd78982e
Author: datallah at pidgin.im
Date: 2007-10-26T05:10:59
Branch: im.pidgin.pidgin.2.2.3

Modified files:
        libpurple/protocols/bonjour/mdns_win32.c

ChangeLog: 

applied changes from 22ecd7ea1376fa3c0d66294bbd70904410837ede
             through d275feb891040092b840d7cc48797e0a16e8a757

-------------- next part --------------
============================================================
--- libpurple/protocols/bonjour/mdns_win32.c	8bc1f161b418aff325567fb49844083d0258cc18
+++ libpurple/protocols/bonjour/mdns_win32.c	defd272afc1209b9b8f3e7481f010bbad09836c9
@@ -147,7 +147,11 @@ _mdns_resolve_host_callback(GSList *host
 	}
 
 	/* free the hosts list*/
-	g_slist_free(hosts);
+	while (hosts != NULL) {
+		hosts = g_slist_remove(hosts, hosts->data);
+		g_free(hosts->data);
+		hosts = g_slist_remove(hosts, hosts->data);
+	}
 
 	/* free the remaining args memory */
 	g_free(args->full_service_name);


More information about the Commits mailing list