diff options
author | David Disseldorp <ddiss@samba.org> | 2012-02-08 16:55:40 +0100 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2012-06-26 16:10:39 +0200 |
commit | 2f85c1fcf268e447303990e48b49b149020320d0 (patch) | |
tree | f3f2f457352dc5ba56fed82e4db70302e77acc44 /source3/printing/nt_printing_ads.c | |
parent | e1ddf8f0e41643933c2aa58dc9421cbc7631e2e5 (diff) | |
download | samba-2f85c1fcf268e447303990e48b49b149020320d0.tar.gz samba-2f85c1fcf268e447303990e48b49b149020320d0.tar.bz2 samba-2f85c1fcf268e447303990e48b49b149020320d0.zip |
s3-printing: return talloced print jobs
print_job_find() currently returns print jobs to callers via a
statically allocated variable, this is particularly messy as the
device mode is talloced under the static variable.
This change adds or passes a talloc context to all callers, giving them
ownership of the returned print job.
Diffstat (limited to 'source3/printing/nt_printing_ads.c')
0 files changed, 0 insertions, 0 deletions