summaryrefslogtreecommitdiff
path: root/source4/libcli/nbt/nameregister.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/nbt/nameregister.c')
-rw-r--r--source4/libcli/nbt/nameregister.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/libcli/nbt/nameregister.c b/source4/libcli/nbt/nameregister.c
index 6d4938cd19..703210cb48 100644
--- a/source4/libcli/nbt/nameregister.c
+++ b/source4/libcli/nbt/nameregister.c
@@ -73,8 +73,7 @@ struct nbt_name_request *nbt_name_register_send(struct nbt_name_socket *nbtsock,
timeval_current_ofs(io->in.timeout, 0), False);
if (req == NULL) goto failed;
- talloc_steal(req, packet);
-
+ talloc_free(packet);
return req;
failed: