summaryrefslogtreecommitdiff
path: root/examples/ldns-keyfetcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ldns-keyfetcher.c')
-rw-r--r--examples/ldns-keyfetcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ldns-keyfetcher.c b/examples/ldns-keyfetcher.c
index c8a7859b..1567b2ab 100644
--- a/examples/ldns-keyfetcher.c
+++ b/examples/ldns-keyfetcher.c
@@ -521,7 +521,7 @@ read_root_hints(const char *filename)
ldns_rr_list_push_rr(addresses, ldns_rr_clone(rr));
}
}
- ldns_zone_free(z);
+ ldns_zone_deep_free(z);
return addresses;
}
}