summaryrefslogtreecommitdiffstats
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-11-15 09:12:40 +0100
committerJeremy Allison <jra@samba.org>2014-04-11 21:41:08 +0200
commit535103e7a38e175fec082a658c2b70dbdd9af33e (patch)
treef46e325ba6ccba10774534e9b22920b19134424b /source3/lib/util.c
parent80de72bb57520a1a14c3d3db3f31dc588d0afd64 (diff)
downloadsamba-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