1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-04 16:58:42 +03:00
Stefan Metzmacher 535103e7a3 s3:smb2_server: only allocate the required buffer in the smb2 recvfile() code path
This way the buffer will likely be allocated within the existing talloc_pool,
which avoids one malloc() per request.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-04-11 21:41:08 +02:00
..
2013-09-11 08:27:10 +02:00