queryfree (struct dns_transmit *d)
{
    mergefree (d);
    if (!d->query)
      return;
    alloc_free (d->query);
    d->query = 0;
}
queryfree (struct dns_transmit *d)
{
    mergefree (d);
    if (!d->query)
      return;
    alloc_free (d->query);
    d->query = 0;
}