diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/pdb_wbc_sam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_wbc_sam.c b/source3/passdb/pdb_wbc_sam.c index 9af8e4f81b..c1a7b75943 100644 --- a/source3/passdb/pdb_wbc_sam.c +++ b/source3/passdb/pdb_wbc_sam.c @@ -50,7 +50,7 @@ static NTSTATUS _pdb_wbc_sam_getsampw(struct pdb_methods *methods, if (pwd == NULL) return NT_STATUS_NO_SUCH_USER; - memset(user, 0, sizeof(user)); + ZERO_STRUCTP(user); /* Can we really get away with this little of information */ user->methods = methods; |