changeset 8695:a32481f393b9

[gaim-migrate @ 9448] Aubin LaBrosse pointed out a memleak in rendezvous committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 18 Apr 2004 05:43:21 +0000
parents 1c9380152c63
children aebfa2b6af6b
files src/protocols/rendezvous/rendezvous.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/rendezvous/rendezvous.c	Sun Apr 18 04:31:33 2004 +0000
+++ b/src/protocols/rendezvous/rendezvous.c	Sun Apr 18 05:43:21 2004 +0000
@@ -448,6 +448,8 @@
 	myname = g_strdup_printf("%s._presence._tcp.local", gaim_account_get_username(account));
 	mdns_advertise_null(rd->fd, myname, rdata, rdlength);
 	g_free(myname);
+
+	g_free(rdata);
 }
 
 static void rendezvous_send_online(GaimConnection *gc)