summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_rpc.c b/source4/libnet/libnet_rpc.c
index 92f4df5844..33d32c25dd 100644
--- a/source4/libnet/libnet_rpc.c
+++ b/source4/libnet/libnet_rpc.c
@@ -126,7 +126,7 @@ static NTSTATUS libnet_RpcConnectPdc(struct libnet_context *ctx, TALLOC_CTX *mem
NTSTATUS status;
struct libnet_RpcConnect r2;
struct libnet_Lookup f;
- char address[16];
+ const char *address = talloc_array(ctx, const char, 16);
f.in.hostname = r->in.domain_name;
f.in.methods = NULL;