~andreserl/ubuntu/lucid/bind9/bind9-apport-533601

« back to all changes in this revision

Viewing changes to bin/named/lwdgrbn.c

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, LaMont Jones, Internet Software Consortium, Inc, localization folks
  • Date: 2008-08-02 14:20:20 UTC
  • mfrom: (1.2.1 upstream) (6.1.24 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080802142020-l1hon9jy8lbbjxmg
[LaMont Jones]

* default to using resolvconf if it is installed
* fix sonames and dependencies.  Closes: #149259, #492418
* Do not build-depend libcap2-dev on non-linux.  Closes: #493392
* drop unused query-loc manpage.  Closes: #492564
* lwresd: Deliver /etc/bind directory.  Closes: #490027
* fix query-source comment in default install

[Internet Software Consortium, Inc]

* 9.5.0-P2.  Closes: #492949

[localization folks]

* l10n: Spanish debconf translation.  Closes: #492425 (Ignacio Mondino)
* l10n: Swedish debconf templates.  Closes: #491369 (Martin Ågren)
* l10n: Japanese debconf translations.  Closes: #492048 (Hideki Yamane
  (Debian-JP))
* l10n: Finnish translation.  Closes: #490630 (Esko Arajärvi)
* l10n: Italian debconf translations.  Closes: #492587 (Alessandro Vietta)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
 
2
 * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
3
3
 * Copyright (C) 2000, 2001, 2003  Internet Software Consortium.
4
4
 *
5
 
 * Permission to use, copy, modify, and distribute this software for any
 
5
 * Permission to use, copy, modify, and/or distribute this software for any
6
6
 * purpose with or without fee is hereby granted, provided that the above
7
7
 * copyright notice and this permission notice appear in all copies.
8
8
 *
15
15
 * PERFORMANCE OF THIS SOFTWARE.
16
16
 */
17
17
 
18
 
/* $Id: lwdgrbn.c,v 1.11.208.3 2004/03/08 04:04:19 marka Exp $ */
 
18
/* $Id: lwdgrbn.c,v 1.20 2007/06/19 23:46:59 tbox Exp $ */
 
19
 
 
20
/*! \file */
19
21
 
20
22
#include <config.h>
21
23
 
183
185
                isc_mem_put(mctx, oldlens, oldsize * sizeof(*oldlens));
184
186
        if (newrdatas != NULL)
185
187
                isc_mem_put(mctx, newrdatas, used * sizeof(*oldrdatas));
186
 
        if (newlens != NULL)
187
 
                isc_mem_put(mctx, newlens, used * sizeof(*oldlens));
188
188
        return (result);
189
189
}
190
190
 
358
358
        client->sendlength = r.length;
359
359
        result = ns_lwdclient_sendreply(client, &r);
360
360
        if (result != ISC_R_SUCCESS)
361
 
                goto out;
 
361
                goto out2;
362
362
 
363
363
        NS_LWDCLIENT_SETSEND(client);
364
364
 
378
378
        if (grbn->siglen != NULL)
379
379
                isc_mem_put(cm->mctx, grbn->siglen,
380
380
                            grbn->nsigs * sizeof(lwres_uint16_t));
381
 
 
 
381
 out2:
382
382
        if (client->lookup != NULL)
383
383
                dns_lookup_destroy(&client->lookup);
384
384
        if (lwb.base != NULL)