diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-11-15 09:12:40 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-04-11 21:41:08 +0200 |
commit | 535103e7a38e175fec082a658c2b70dbdd9af33e (patch) | |
tree | f46e325ba6ccba10774534e9b22920b19134424b /source3/lib/util.c | |
parent | 80de72bb57520a1a14c3d3db3f31dc588d0afd64 (diff) | |
download | samba-535103e7a38e175fec082a658c2b70dbdd9af33e.tar.gz samba-535103e7a38e175fec082a658c2b70dbdd9af33e.tar.xz samba-535103e7a38e175fec082a658c2b70dbdd9af33e.zip |
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>
Diffstat (limited to 'source3/lib/util.c')
0 files changed, 0 insertions, 0 deletions