summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libnet/py_net.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c
index cf37ccc380..4754eb572b 100644
--- a/source4/libnet/py_net.c
+++ b/source4/libnet/py_net.c
@@ -51,6 +51,8 @@ static PyObject *py_net_join_member(py_net_Object *self, PyObject *args, PyObjec
TALLOC_CTX *mem_ctx;
const char *kwnames[] = { "domain_name", "netbios_name", "level", NULL };
+ ZERO_STRUCT(r);
+
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "ssi:Join", discard_const_p(char *, kwnames),
&r.in.domain_name, &r.in.netbios_name,
&_level)) {