diff options
author | Simo Sorce <idra@samba.org> | 2011-07-22 11:59:41 -0400 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2011-07-27 08:49:58 +0200 |
commit | 99e03bee7ae5de37280a4e571caf36b0a8553fae (patch) | |
tree | 1b383441fdf5d2ba5a99fd98865cd86576b3de3a /source3/smbd | |
parent | 8831402596fab30f56ce6600c72a575e2e73e4d3 (diff) | |
download | samba-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/smbd')
0 files changed, 0 insertions, 0 deletions