diff options
Diffstat (limited to 'source3/sam/idmap.c')
-rw-r--r-- | source3/sam/idmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/sam/idmap.c b/source3/sam/idmap.c index 3abfb0ae9f1..d18157643b1 100644 --- a/source3/sam/idmap.c +++ b/source3/sam/idmap.c @@ -83,7 +83,7 @@ NTSTATUS smb_register_idmap(int version, const char *name, struct idmap_methods return NT_STATUS_OBJECT_NAME_COLLISION; } - entry = smb_xmalloc(sizeof(struct idmap_function_entry)); + entry = SMB_XMALLOC_P(struct idmap_function_entry); entry->name = smb_xstrdup(name); entry->methods = methods; |