diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-01-31 06:55:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:24 -0500 |
commit | 2e953b967ae181be10fcdff2595daf36d903c3b0 (patch) | |
tree | a93afe8c86ef2722b90414e0cd6d8b3709f08fd1 /source4/libcli/nbt/namequery.c | |
parent | 0700676da69a68066e0a2f7541ffa0d3bf956616 (diff) | |
download | samba-2e953b967ae181be10fcdff2595daf36d903c3b0.tar.gz samba-2e953b967ae181be10fcdff2595daf36d903c3b0.tar.bz2 samba-2e953b967ae181be10fcdff2595daf36d903c3b0.zip |
r5121: added periodic name refresh requests for all our registered names, reporting any
name conflicts
(This used to be commit 69e6a1cd4bac665debb10601d1a3ddc0ae86e779)
Diffstat (limited to 'source4/libcli/nbt/namequery.c')
-rw-r--r-- | source4/libcli/nbt/namequery.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/libcli/nbt/namequery.c b/source4/libcli/nbt/namequery.c index f6744e9f14..36fbfc8dd0 100644 --- a/source4/libcli/nbt/namequery.c +++ b/source4/libcli/nbt/namequery.c @@ -56,8 +56,7 @@ struct nbt_name_request *nbt_name_query_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: @@ -157,8 +156,7 @@ struct nbt_name_request *nbt_name_status_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: |