s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[nivanova/samba-autobuild/.git] / source3 / winbindd / winbindd_cred_cache.c
index 7480db6a125a6ee64ce015f3a368224699e8e722..5e79a96ca7642a8824364bf8412a9ff8a6d2c209 100644 (file)
@@ -908,7 +908,7 @@ static NTSTATUS winbindd_add_memory_creds_internal(const char *username,
                return winbindd_replace_memory_creds_internal(memcredp, pass);
        }
 
                return winbindd_replace_memory_creds_internal(memcredp, pass);
        }
 
-       memcredp = TALLOC_ZERO_P(NULL, struct WINBINDD_MEMORY_CREDS);
+       memcredp = talloc_zero(NULL, struct WINBINDD_MEMORY_CREDS);
        if (!memcredp) {
                return NT_STATUS_NO_MEMORY;
        }
        if (!memcredp) {
                return NT_STATUS_NO_MEMORY;
        }