diff options
Diffstat (limited to 'source/utils/smbtree.c')
-rw-r--r-- | source/utils/smbtree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/smbtree.c b/source/utils/smbtree.c index cbe1bd448f8..00f6a74f2f2 100644 --- a/source/utils/smbtree.c +++ b/source/utils/smbtree.c @@ -51,7 +51,7 @@ static void add_name(const char *machine_name, uint32 server_type, struct name_list **name_list = (struct name_list **)state; struct name_list *new_name; - new_name = (struct name_list *)malloc(sizeof(struct name_list)); + new_name = SMB_MALLOC_P(struct name_list); if (!new_name) return; |