mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-23 02:28:55 +00:00
memleak
This commit is contained in:
parent
9785f602c8
commit
146421c528
@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: nsupdate.c,v 1.61 2000/11/16 05:40:25 marka Exp $ */
|
/* $Id: nsupdate.c,v 1.62 2000/11/16 05:45:52 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -1466,6 +1466,9 @@ cleanup(void) {
|
|||||||
if (userserver != NULL)
|
if (userserver != NULL)
|
||||||
isc_mem_put(mctx, userserver, sizeof(isc_sockaddr_t));
|
isc_mem_put(mctx, userserver, sizeof(isc_sockaddr_t));
|
||||||
|
|
||||||
|
if (localaddr != NULL)
|
||||||
|
isc_mem_put(mctx, localaddr, sizeof(isc_sockaddr_t));
|
||||||
|
|
||||||
if (key != NULL) {
|
if (key != NULL) {
|
||||||
debug("Freeing key");
|
debug("Freeing key");
|
||||||
dns_tsigkey_detach(&key);
|
dns_tsigkey_detach(&key);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user