1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-07-25 04:58:57 +03:00

override: Return NULL on python failure in getCPUModelNames

Eric pointed this out on the last patch, but I pushed it before noticing
his message.
This commit is contained in:
Cole Robinson
2014-03-20 13:57:24 -04:00
parent 33e39093ca
commit 097a479e91

View File

@ -2350,7 +2350,7 @@ done:
error:
Py_XDECREF(rv);
rv = VIR_PY_NONE;
rv = NULL;
goto done;
}
#endif /* LIBVIR_CHECK_VERSION(1, 1, 3) */