diff options
author | David Disseldorp <ddiss@samba.org> | 2013-10-16 21:52:29 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2013-11-20 08:16:37 +0100 |
commit | a299de85ab6f1901a61d696522522496fb154434 (patch) | |
tree | e1411ff4bccddbb698675242b9f90e23f3c7cfa0 /source3/lib/system.c | |
parent | de424133653c00a2a95017be15a25cbb0b3c0524 (diff) | |
download | samba-a299de85ab6f1901a61d696522522496fb154434.tar.gz samba-a299de85ab6f1901a61d696522522496fb154434.tar.xz samba-a299de85ab6f1901a61d696522522496fb154434.zip |
loadparm: use lp_printername ctx param instead of tos
lp_printername() takes a TALLOC_CTX argument, but proceeds to use
talloc_tos() in a subsequent lp__printername call. Fix it to use the
parameter - most callers use talloc_tos() as the argument, the others
have a temporary context around.
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source3/lib/system.c')
0 files changed, 0 insertions, 0 deletions