Move to short lived TALLOC_CTX* for allocating printer
commit318190580d4248385f4d03a8d1408a9162c588f0
authorGerald Carter <jerry@samba.org>
Tue, 30 Dec 2003 22:17:14 +0000 (30 22:17 +0000)
committerGerald Carter <jerry@samba.org>
Tue, 30 Dec 2003 22:17:14 +0000 (30 22:17 +0000)
tree0b6b291373c59781bfd85117bf6d70bacf4e9f4e
parent2abf5f928fc974f0f03443f4bf3b8a8e97738aa1
Move to short lived TALLOC_CTX* for allocating printer
objects from the print handle cache.   Fixes bug that
caused smbd to consume large amounts of RAM when

(a) a printer handle was kept open over an extended
    period of time, and
(b) the client issued frequent requests that resulted
    in a call to get_a_printer()
(This used to be commit 10b9976e0ab961dc34c9426f0a497e0f81a5e17f)
source3/printing/nt_printing.c