From 99b344eb14f528201381b20e127a131d2c2dff24 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 2 Dec 2005 15:02:21 +0000 Subject: r12020: fix memory hierachie metze (This used to be commit 2433800834293a95669c3c48eb2462b76d1b3029) --- source4/libcli/nbt/namequery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/libcli/nbt/namequery.c b/source4/libcli/nbt/namequery.c index c0a1e274e2..38fb2f966d 100644 --- a/source4/libcli/nbt/namequery.c +++ b/source4/libcli/nbt/namequery.c @@ -108,7 +108,7 @@ NTSTATUS nbt_name_query_recv(struct nbt_name_request *req, } for (i=0;iout.num_addrs;i++) { - io->out.reply_addrs[i] = talloc_steal(mem_ctx, + io->out.reply_addrs[i] = talloc_steal(io->out.reply_addrs, packet->answers[0].rdata.netbios.addresses[i].ipaddr); } io->out.reply_addrs[i] = NULL; -- cgit