Fix smbd crash for close_on_completion
authorVolker Lendecke <vl@samba.org>
Sat, 28 Mar 2009 18:58:45 +0000 (19:58 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 5 Apr 2009 12:37:28 +0000 (14:37 +0200)
commit1b7e108cc50a35fa1c15cf4a46f970306efdd1a3
tree45f2869dbc49513cc5db5027f654180989d692b1
parente2cd00813c5221a03508249e5bb49e648befc734
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