summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2017-12-19 13:29:32 -0500
committerThomas Markwalder <tmark@isc.org>2017-12-19 13:29:32 -0500
commitf1208e796d8e7208055a0afb848f7795f0ea2258 (patch)
treebff954ce2f55786b505d590df5b0d7feb2ff9e14 /common
parent700e3fca88a581091e2ea254b9f93bf5f87e1a42 (diff)
downloadisc-dhcp-f1208e796d8e7208055a0afb848f7795f0ea2258.tar.gz
[master] dhcpd (-6) now supports update-static-leases
Merges in rt34097.
Diffstat (limited to 'common')
-rw-r--r--common/dns.c9
1 files changed, 8 insertions, 1 deletions
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);
}