mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +00:00
1282. [bug] ns_server_destroy() failed to set *serverp to NULL.
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -1,3 +1,5 @@
|
|||||||
|
1282. [bug] ns_server_destroy() failed to set *serverp to NULL.
|
||||||
|
|
||||||
1281. [func] libbind: ns_sign2() and ns_sign_tcp() now provide
|
1281. [func] libbind: ns_sign2() and ns_sign_tcp() now provide
|
||||||
support for compressed TSIG owner names.
|
support for compressed TSIG owner names.
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: server.c,v 1.375 2002/05/03 05:28:21 marka Exp $ */
|
/* $Id: server.c,v 1.376 2002/05/08 04:45:40 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -2357,6 +2357,7 @@ ns_server_destroy(ns_server_t **serverp) {
|
|||||||
|
|
||||||
server->magic = 0;
|
server->magic = 0;
|
||||||
isc_mem_put(server->mctx, server, sizeof(*server));
|
isc_mem_put(server->mctx, server, sizeof(*server));
|
||||||
|
*serverp = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user