comparison src/proxy.c @ 9148:39155e87c470

[gaim-migrate @ 9932] this should fix the crashes for those without the coolest of cool DNS lookup functions committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 31 May 2004 00:07:05 +0000
parents 3e94a77ee0c7
children 9171e528d7e5
comparison
equal deleted inserted replaced
9147:2e2eaa5b6249 9148:39155e87c470
620 pending_dns_request_t *req = (pending_dns_request_t*)data; 620 pending_dns_request_t *req = (pending_dns_request_t*)data;
621 GSList *hosts = NULL; 621 GSList *hosts = NULL;
622 hosts = g_slist_append(hosts, GINT_TO_POINTER(req->addrlen)); 622 hosts = g_slist_append(hosts, GINT_TO_POINTER(req->addrlen));
623 hosts = g_slist_append(hosts, req->addr); 623 hosts = g_slist_append(hosts, req->addr);
624 req->callback(hosts, req->data, NULL); 624 req->callback(hosts, req->data, NULL);
625 g_slist_free(hosts);
626 g_free(req->addr);
627 g_free(req); 625 g_free(req);
628 return FALSE; 626 return FALSE;
629 } 627 }
630 628
631 int 629 int