s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[nivanova/samba-autobuild/.git] / source3 / lib / netapi / localgroup.c
index 49ba74ec1722bb6a35abab62b7cc85d9302f7dd0..54ec14eb84dec970152180c342557b1ed811140c 100644 (file)
@@ -610,7 +610,7 @@ static WERROR map_buffer_to_alias_info(TALLOC_CTX *mem_ctx,
        struct LOCALGROUP_INFO_1002 *info1002;
        union samr_AliasInfo *info = NULL;
 
-       info = TALLOC_ZERO_P(mem_ctx, union samr_AliasInfo);
+       info = talloc_zero(mem_ctx, union samr_AliasInfo);
        W_ERROR_HAVE_NO_MEMORY(info);
 
        switch (level) {