1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

smbd: Fix bug 9549 -- Memleak in the async echo handler

Reviewed by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan  8 23:30:41 CET 2013 on sn-devel-104
This commit is contained in:
Volker Lendecke 2013-01-08 15:34:19 +01:00 committed by Jeremy Allison
parent eae01b0d3d
commit 3d5c534f0c

View File

@ -3022,7 +3022,7 @@ static void smbd_echo_got_packet(struct tevent_req *req)
}
iov = &state->pending[num_pending];
iov->iov_base = buf;
iov->iov_base = talloc_move(state->pending, &buf);
iov->iov_len = buflen;
DEBUG(10,("echo_handler[%d]: forward to main\n",