diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-03 08:20:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:29 -0500 |
commit | a097414ed25873cbcbee48f0a888d36a6b60c10c (patch) | |
tree | 4a51770982ac40e4ce06e156d9b1da361d9dcd08 /source4/smb_server | |
parent | c3f8ef9424f5c75ba7d6e85904fc4a4f2e2085d5 (diff) | |
download | samba-a097414ed25873cbcbee48f0a888d36a6b60c10c.tar.gz samba-a097414ed25873cbcbee48f0a888d36a6b60c10c.tar.bz2 samba-a097414ed25873cbcbee48f0a888d36a6b60c10c.zip |
r5193: make sure we mark the event dead when we free it on a dead connection
(This used to be commit 90535bab957ddaa7bfcdf43e199581f3352bdc8a)
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/smb_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c index 5220df034c..f1f73014f1 100644 --- a/source4/smb_server/smb_server.c +++ b/source4/smb_server/smb_server.c @@ -663,6 +663,7 @@ static void smbsrv_recv(struct stream_connection *conn, struct timeval t, uint16 status = receive_smb_request(smb_conn, t); if (NT_STATUS_IS_ERR(status)) { talloc_free(conn->event.fde); + conn->event.fde = NULL; smbsrv_terminate_connection(smb_conn, nt_errstr(status)); return; } |