summaryrefslogtreecommitdiff
path: root/source/lib/account_pol.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/account_pol.c')
-rw-r--r--source/lib/account_pol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/account_pol.c b/source/lib/account_pol.c
index c8507f722d1..6bd3c76ca1f 100644
--- a/source/lib/account_pol.c
+++ b/source/lib/account_pol.c
@@ -88,7 +88,7 @@ char *account_policy_names_list(void)
len += strlen(account_policy_names[i].string) + 1;
}
len++;
- nl = malloc(len);
+ nl = SMB_MALLOC(len);
if (!nl) {
return NULL;
}