diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-04 22:42:00 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-04 22:42:00 +0000 |
commit | c1b3ebb1fa51a8b91e94d48ec272846235de1c03 (patch) | |
tree | 36b7c18702c7069587cfdde60325bed1e499a918 /source4/libcli/rpc | |
parent | 41304b3c5791be0a5492844a048784c4ef4acfe9 (diff) | |
download | samba-c1b3ebb1fa51a8b91e94d48ec272846235de1c03.tar.gz samba-c1b3ebb1fa51a8b91e94d48ec272846235de1c03.tar.bz2 samba-c1b3ebb1fa51a8b91e94d48ec272846235de1c03.zip |
fixed some error found by valgrind
(This used to be commit ca5f0ccb6cd10d51c96a5cd8e0cd97d50cbb9a73)
Diffstat (limited to 'source4/libcli/rpc')
-rw-r--r-- | source4/libcli/rpc/dcerpc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/libcli/rpc/dcerpc.c b/source4/libcli/rpc/dcerpc.c index 89f2c6d5b1..9e6c05e7ae 100644 --- a/source4/libcli/rpc/dcerpc.c +++ b/source4/libcli/rpc/dcerpc.c @@ -38,6 +38,7 @@ struct dcerpc_pipe *dcerpc_pipe_init(struct cli_tree *tree) return NULL; } + p->reference_count = 0; p->mem_ctx = mem_ctx; p->tree = tree; p->tree->reference_count++; @@ -746,7 +747,10 @@ NTSTATUS dcerpc_request(struct dcerpc_pipe *p, /* - a useful helper function for synchronous rpc requests + a useful helper function for synchronous rpc requests + + this can be used when you have ndr push/pull functions in the + standard format */ NTSTATUS dcerpc_ndr_request(struct dcerpc_pipe *p, uint32 opnum, |