s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[sfrench/samba-autobuild/.git] / source3 / libsmb / samlogon_cache.c
index a07ea5280aed0a54c3858ed7d131a602a52aa269..67c0e08114a2f19a485fdd1553f6d0df2f1ff94c 100644 (file)
@@ -217,7 +217,7 @@ struct netr_SamInfo3 *netsamlogon_cache_get(TALLOC_CTX *mem_ctx, const struct do
                return NULL;
        }
 
-       info3 = TALLOC_ZERO_P(mem_ctx, struct netr_SamInfo3);
+       info3 = talloc_zero(mem_ctx, struct netr_SamInfo3);
        if (!info3) {
                goto done;
        }