Mercurial > pidgin.yaz
comparison libpurple/protocols/bonjour/mdns_win32.c @ 21017:8b74b226e023
Fix a double-free that was not fun to track down. Fixes #3688.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 26 Oct 2007 04:52:56 +0000 |
parents | 53691c081eab |
children | f119cd1cb47c |
comparison
equal
deleted
inserted
replaced
21014:0314cb293463 | 21017:8b74b226e023 |
---|---|
148 | 148 |
149 /* free the hosts list*/ | 149 /* free the hosts list*/ |
150 g_slist_free(hosts); | 150 g_slist_free(hosts); |
151 | 151 |
152 /* free the remaining args memory */ | 152 /* free the remaining args memory */ |
153 purple_dnsquery_destroy(args->query); | |
154 g_free(args->full_service_name); | 153 g_free(args->full_service_name); |
155 g_free(args); | 154 g_free(args); |
156 } | 155 } |
157 | 156 |
158 static void DNSSD_API | 157 static void DNSSD_API |