summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/ndr/ndr.c')
-rw-r--r--source4/librpc/ndr/ndr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/librpc/ndr/ndr.c b/source4/librpc/ndr/ndr.c
index a78f135d92..56e0e5f0ed 100644
--- a/source4/librpc/ndr/ndr.c
+++ b/source4/librpc/ndr/ndr.c
@@ -151,6 +151,7 @@ struct ndr_push *ndr_push_init(void)
return NULL;
}
ndr->offset = 0;
+ ndr->ptr_count = 0;
return ndr;
}