Move to short lived TALLOC_CTX* for allocating printer
authorGerald Carter <jerry@samba.org>
Tue, 30 Dec 2003 22:18:40 +0000 (22:18 +0000)
committerGerald Carter <jerry@samba.org>
Tue, 30 Dec 2003 22:18:40 +0000 (22:18 +0000)
commit6eb471e11e596bc27d2d42ff457d6bd772eed228
tree1eb68c43404c27600b2bf5ab964c5a282e53b11a
parent65586823a743bc7585e4703ddab35e16f2007e95
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 b84ea23f99481f9260dedbe8dd715112ccdc7d7a)
source3/printing/nt_printing.c