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:
parent
eae01b0d3d
commit
3d5c534f0c
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user