summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-12-02 15:02:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:00 -0500
commit99b344eb14f528201381b20e127a131d2c2dff24 (patch)
tree99f013af14f2d8f648f563a257b92695919054a9
parent3c016355e44afbb10ee02b9ba09e107355b27f7a (diff)
downloadsamba-99b344eb14f528201381b20e127a131d2c2dff24.tar.gz
samba-99b344eb14f528201381b20e127a131d2c2dff24.tar.bz2
samba-99b344eb14f528201381b20e127a131d2c2dff24.zip
r12020: fix memory hierachie
metze (This used to be commit 2433800834293a95669c3c48eb2462b76d1b3029)
-rw-r--r--source4/libcli/nbt/namequery.c2
1 files changed, 1 insertions, 1 deletions
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;i<io->out.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;