fixed memory leaks in rpcclient's cmd_spoolss_XXX() functions
commitea52cc486f5af3b5672f773827b5eb32d5102fef
authorGerald Carter <jerry@samba.org>
Fri, 27 Apr 2001 16:17:58 +0000 (27 16:17 +0000)
committerGerald Carter <jerry@samba.org>
Fri, 27 Apr 2001 16:17:58 +0000 (27 16:17 +0000)
tree1354e2b03fa3404a1bce697e49b8dfdb1687fba3
parent5a42a902baacba2596e16e5b53fd2119fd840a4f
fixed memory leaks in rpcclient's cmd_spoolss_XXX() functions
by moving to talloc() for cli_spoolss_XX().  Previously, the prs_struct's
where using the TALLOC_CTX from the cli_state struct which lasted
for the entire rpcclient session.  Not good for long term connections.
source/include/proto.h
source/libsmb/cli_spoolss.c
source/rpc_parse/parse_spoolss.c
source/rpcclient/cmd_spoolss.c