Fix smbd crash for close_on_completion
commit51ecc77eeabe5fc89e4d1b1fb8a15c71614d4049
authorVolker Lendecke <vl@samba.org>
Sat, 28 Mar 2009 18:58:45 +0000 (28 19:58 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 5 Apr 2009 12:38:07 +0000 (5 14:38 +0200)
tree8dab9d22d5951ea585dcc7abf549b24beabb3778
parent5b43fff78081541f642b07a70b03c6d5902e42dd
Fix smbd crash for close_on_completion

handle_trans() can talloc_free "conn" if the client requests
close_on_completion. "state" is a talloc_child of conn, so it will be gone when
we later free state->data et al.
source/smbd/ipc.c