---
libvirt-override.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libvirt-override.c b/libvirt-override.c
index 0464f49..570918c 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -167,8 +167,7 @@ setPyVirTypedParameter(PyObject *info,
}
if (VIR_ALLOC_N(ret, size) < 0) {
- PyErr_NoMemory();
- return NULL;
+ return PyErr_NoMemory();
}
temp = &ret[0];
--
1.8.3.2