libpurple/protocols/jabber/disco.c

changeset 40137
016690872c6c
parent 40064
467eecebfa70
child 40358
e6fe6fc1f516
--- a/libpurple/protocols/jabber/disco.c	Sun Nov 03 20:33:05 2019 +0300
+++ b/libpurple/protocols/jabber/disco.c	Sun Nov 03 20:37:07 2019 +0300
@@ -91,10 +91,7 @@
 	/* TODO: When we support zeroconf proxies, fix this to handle them */
 	if (!(sh->jid && sh->host && sh->port > 0)) {
 		js->bs_proxies = g_list_remove(js->bs_proxies, sh);
-		g_free(sh->jid);
-		g_free(sh->host);
-		g_free(sh->zeroconf);
-		g_free(sh);
+		jabber_bytestreams_streamhost_free(sh);
 	}
 }
 

mercurial