summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_ntsvcs.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-18 00:26:10 +0100
committerGünther Deschner <gd@samba.org>2008-02-18 00:26:10 +0100
commit560725930663e635b5b602dbb712b602d9c5f35b (patch)
tree4d01284c4f11454cdbfb1fb3e0ef94a9ae1c97e6 /source3/librpc/gen_ndr/srv_ntsvcs.c
parent9a1881598cd4f91485f7b44471b883ede9c3a73f (diff)
downloadsamba-560725930663e635b5b602dbb712b602d9c5f35b.tar.gz
samba-560725930663e635b5b602dbb712b602d9c5f35b.tar.bz2
samba-560725930663e635b5b602dbb712b602d9c5f35b.zip
Re-run make idl.
Guenther (This used to be commit c7c89317db3774e75013dec67e44100d7276c939)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_ntsvcs.c')
-rw-r--r--source3/librpc/gen_ndr/srv_ntsvcs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/srv_ntsvcs.c b/source3/librpc/gen_ndr/srv_ntsvcs.c
index 7bbf9d1bfa..608353c480 100644
--- a/source3/librpc/gen_ndr/srv_ntsvcs.c
+++ b/source3/librpc/gen_ndr/srv_ntsvcs.c
@@ -854,6 +854,13 @@ static bool api_PNP_GetDeviceListSize(pipes_struct *p)
NDR_PRINT_IN_DEBUG(PNP_GetDeviceListSize, r);
}
+ ZERO_STRUCT(r->out);
+ r->out.size = talloc_zero(r, uint32_t);
+ if (r->out.size == NULL) {
+ talloc_free(r);
+ return false;
+ }
+
r->out.result = _PNP_GetDeviceListSize(p, r);
if (p->rng_fault_state) {