summaryrefslogtreecommitdiff
path: root/source3/lib/account_pol.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/account_pol.c')
-rw-r--r--source3/lib/account_pol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/account_pol.c b/source3/lib/account_pol.c
index 9120452e2e..aa59383258 100644
--- a/source3/lib/account_pol.c
+++ b/source3/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;
}