summaryrefslogtreecommitdiff
path: root/source3/python/py_ntsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python/py_ntsec.c')
-rw-r--r--source3/python/py_ntsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_ntsec.c b/source3/python/py_ntsec.c
index e59a33f97b..f82433a69f 100644
--- a/source3/python/py_ntsec.c
+++ b/source3/python/py_ntsec.c
@@ -157,7 +157,7 @@ BOOL py_to_ACL(SEC_ACL *acl, PyObject *dict, TALLOC_CTX *mem_ctx)
acl->num_aces = PyList_Size(obj);
- acl->aces = talloc_array(mem_ctx, struct security_ace, acl->num_aces);
+ acl->aces = TALLOC_ARRAY(mem_ctx, struct security_ace, acl->num_aces);
acl->size = SEC_ACL_HEADER_SIZE;
for (i = 0; i < acl->num_aces; i++) {