summaryrefslogtreecommitdiff
path: root/source3/winbindd/wb_lookupsid.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2011-07-22 11:59:41 -0400
committerAndreas Schneider <asn@samba.org>2011-07-27 08:49:58 +0200
commit99e03bee7ae5de37280a4e571caf36b0a8553fae (patch)
tree1b383441fdf5d2ba5a99fd98865cd86576b3de3a /source3/winbindd/wb_lookupsid.c
parent8831402596fab30f56ce6600c72a575e2e73e4d3 (diff)
downloadsamba-99e03bee7ae5de37280a4e571caf36b0a8553fae.tar.gz
samba-99e03bee7ae5de37280a4e571caf36b0a8553fae.tar.bz2
samba-99e03bee7ae5de37280a4e571caf36b0a8553fae.zip
s3-spoolss: Improve memory efficiency.
p->mem_ctx is a relatively long lived context as it will not be freed until a full request is served. In spoolss we do a lot of operations including opening new pipes to connect to winreg. Use more shortlived temporary contexts to avoid leaking a lot of memory on p->mem_ctx and carrying it around untill all the operations in the current call are done. Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/winbindd/wb_lookupsid.c')
0 files changed, 0 insertions, 0 deletions