diff options
Diffstat (limited to 'source3/libads/kerberos.c')
-rw-r--r-- | source3/libads/kerberos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c index 48a832e1a9..a41686a495 100644 --- a/source3/libads/kerberos.c +++ b/source3/libads/kerberos.c @@ -964,7 +964,7 @@ bool create_local_private_krb5_conf_for_domain(const char *realm, if (S_ISLNK(sbuf.st_ex_mode) && sbuf.st_ex_size) { int lret; size_t alloc_size = sbuf.st_ex_size + 1; - char *linkpath = TALLOC_ARRAY(talloc_tos(), char, + char *linkpath = talloc_array(talloc_tos(), char, alloc_size); if (!linkpath) { goto done; |