From f1208e796d8e7208055a0afb848f7795f0ea2258 Mon Sep 17 00:00:00 2001 From: Thomas Markwalder Date: Tue, 19 Dec 2017 13:29:32 -0500 Subject: [master] dhcpd (-6) now supports update-static-leases Merges in rt34097. --- common/dns.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/dns.c b/common/dns.c index 86a1ecd1..44c42582 100644 --- a/common/dns.c +++ b/common/dns.c @@ -594,9 +594,16 @@ ddns_cb_free(dhcp_ddns_cb_t *ddns_cb, const char *file, int line) } /* Should be freed by now, check just in case. */ - if (ddns_cb->transaction != NULL) + if (ddns_cb->transaction != NULL) { log_error("Impossible memory leak at %s:%d (attempt to free " "DDNS Control Block before transaction).", MDL); + } + + /* Should be freed by now, check just in case. */ + if (ddns_cb->fixed6_ia) { + log_error("Possible memory leak at %s:%d (attempt to free " + "DDNS Control Block before fxed6_ia).", MDL); + } dfree(ddns_cb, file, line); } -- cgit v1.2.1