summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2004-01-14 22:53:50 +0000
committerHerb Lewis <herb@samba.org>2004-01-14 22:53:50 +0000
commitbe1b3604ef3d351b1e3013a509dcceb5fed8409f (patch)
tree6f47752a7293d9a43ee809282fbe4c9cea068cc8 /source3/rpc_parse
parent2624dd03136a9c2a6e9ed39c97094cde0aa67723 (diff)
downloadsamba-be1b3604ef3d351b1e3013a509dcceb5fed8409f.tar.gz
samba-be1b3604ef3d351b1e3013a509dcceb5fed8409f.tar.bz2
samba-be1b3604ef3d351b1e3013a509dcceb5fed8409f.zip
source/rpc_parse/parse_prs.c ZERO_STRUCTP(ps) not needed as it is done
in prs_init now testsuite/printing/psec.c cannot do a prs_mem_free() when tdb_prs_fetch fails as the prs structure has not been initialized (This used to be commit a363e5d8c549861329506bd87c11d82ace5520e5)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_prs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_prs.c b/source3/rpc_parse/parse_prs.c
index 58652fa0c5..0e5a25fe8c 100644
--- a/source3/rpc_parse/parse_prs.c
+++ b/source3/rpc_parse/parse_prs.c
@@ -1307,7 +1307,6 @@ int tdb_prs_fetch(TDB_CONTEXT *tdb, char *keystr, prs_struct *ps, TALLOC_CTX *me
if (!dbuf.dptr)
return -1;
- ZERO_STRUCTP(ps);
prs_init(ps, 0, mem_ctx, UNMARSHALL);
prs_give_memory(ps, dbuf.dptr, dbuf.dsize, True);