libcli/dns: make 'clidns' private library out of DNS code in WAF build
[sfrench/samba-autobuild/.git] / lib / addns / dnsmarshall.c
index 3401b31469df37ffb4261359d762cf6f8bd9e992..59d6470f3458f1695cacf11df83814a7d45a407f 100644 (file)
@@ -390,7 +390,7 @@ DNS_ERROR dns_unmarshall_request(TALLOC_CTX *mem_ctx,
        uint16 i;
        DNS_ERROR err;
 
-       if (!(req = TALLOC_ZERO_P(mem_ctx, struct dns_request))) {
+       if (!(req = talloc_zero(mem_ctx, struct dns_request))) {
                return ERROR_DNS_NO_MEMORY;
        }