mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-21 14:17:27 -04:00
pullup BIND 8.
1239. [bug] call res_ndestroy() in net_data_destroy().
This commit is contained in:
parent
e598df739d
commit
9565793aed
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
#if !defined(LINT) && !defined(CODECENTER)
|
||||
static const char rcsid[] = "$Id: irs_data.c,v 1.2 2001/06/21 08:26:10 marka Exp $";
|
||||
static const char rcsid[] = "$Id: irs_data.c,v 1.3 2001/07/04 08:10:23 marka Exp $";
|
||||
#endif
|
||||
|
||||
#include "port_before.h"
|
||||
|
|
@ -68,7 +68,7 @@ void
|
|||
net_data_destroy(void *p) {
|
||||
struct net_data *net_data = p;
|
||||
|
||||
res_nclose(net_data->res);
|
||||
res_ndestroy(net_data->res);
|
||||
if (net_data->gr != NULL) {
|
||||
(*net_data->gr->close)(net_data->gr);
|
||||
net_data->gr = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue