r22749: fix memory leak of nbt_name_request structure which are used to send replies
commitd2a2fe662db5b773f4bd54498d6b31b773633903
authorStefan Metzmacher <metze@samba.org>
Mon, 7 May 2007 15:27:50 +0000 (7 15:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:52:09 +0000 (10 14:52 -0500)
tree1a0169e40a4b58dbc8ef4cf6ead638639e7c57f1
parentb54584dfabee77ec7743cab431bda9765057a295
r22749: fix memory leak of nbt_name_request structure which are used to send replies
and never have an async callback that could free it.

we only had the memory leak in the error path the
standard path was ok.

metze
source/libcli/nbt/nbtsocket.c