diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/nbt/nbtsocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/nbt/nbtsocket.c b/source4/libcli/nbt/nbtsocket.c index b0248b6de0..664e6fdce0 100644 --- a/source4/libcli/nbt/nbtsocket.c +++ b/source4/libcli/nbt/nbtsocket.c @@ -122,10 +122,10 @@ failed: nbt_name_request_destructor(req); req->status = status; req->state = NBT_REQUEST_ERROR; + talloc_free(tmp_ctx); if (req->async.fn) { req->async.fn(req); } - talloc_free(tmp_ctx); return; } |