summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvirt-override.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvirt-override.c b/libvirt-override.c
index 75bacff..c51dd3f 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -1820,6 +1820,7 @@ libvirt_virConnectOpenAuth(PyObject *self ATTRIBUTE_UNUSED, PyObject *args) {
PyObject *pycredtype;
virConnectAuth auth;
+ memset(&auth, 0, sizeof(auth));
if (!PyArg_ParseTuple(args, (char *)"zOi:virConnectOpenAuth", &name, &pyauth, &flags))
return NULL;