comparison src/protocols/rendezvous/rendezvous.c @ 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 005c96dab551
children 1fac5551b03e
comparison
equal deleted inserted replaced
8694:1c9380152c63 8695:a32481f393b9
446 fclose(file); 446 fclose(file);
447 447
448 myname = g_strdup_printf("%s._presence._tcp.local", gaim_account_get_username(account)); 448 myname = g_strdup_printf("%s._presence._tcp.local", gaim_account_get_username(account));
449 mdns_advertise_null(rd->fd, myname, rdata, rdlength); 449 mdns_advertise_null(rd->fd, myname, rdata, rdlength);
450 g_free(myname); 450 g_free(myname);
451
452 g_free(rdata);
451 } 453 }
452 454
453 static void rendezvous_send_online(GaimConnection *gc) 455 static void rendezvous_send_online(GaimConnection *gc)
454 { 456 {
455 RendezvousData *rd = gc->proto_data; 457 RendezvousData *rd = gc->proto_data;