Fix smbd crash for close_on_completion
authorVolker Lendecke <vl@samba.org>
Sat, 28 Mar 2009 18:58:45 +0000 (19:58 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 22 Apr 2009 09:06:19 +0000 (11:06 +0200)
commit6bbdb547e6a366916986887ec2af5045849ad3ba
tree4f39e8b7ad99c3a490c52b66bb0b44e24192919a
parent1250f2025741c22838b22053c7bde4f9efde5b22
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