smbd: Fix a 100% loop at shutdown time
commitafab702a7d319a9dd6ba4e6f607d3868a4f8dbb8
authorVolker Lendecke <vl@samba.org>
Thu, 11 Jul 2013 14:22:26 +0000 (11 16:22 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 15 Jul 2013 18:56:48 +0000 (15 20:56 +0200)
tree331b846c2727570414e368ece4d98e0311d8b308
parentf31f55b7b0f4e3acca06660ce42fc82ecd690f91
smbd: Fix a 100% loop at shutdown time

In the destructor of fsp->aio_requests[0] we put another request into
fsp->aio_requests[0]. Don't overwrite that with TALLOC_FREE.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jul 11 20:56:42 CEST 2013 on sn-devel-104
(cherry picked from commit 940395d38bcc348eb5f1be7ba03cd554d9d3bc93)

Fix bug #10013 - 940395d from master needs porting to 4.0 and 4.1.
source3/smbd/close.c