mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-07-27 11:41:52 +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:
@ -2350,7 +2350,7 @@ done:
|
|||||||
|
|
||||||
error:
|
error:
|
||||||
Py_XDECREF(rv);
|
Py_XDECREF(rv);
|
||||||
rv = VIR_PY_NONE;
|
rv = NULL;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
#endif /* LIBVIR_CHECK_VERSION(1, 1, 3) */
|
#endif /* LIBVIR_CHECK_VERSION(1, 1, 3) */
|
||||||
|
Reference in New Issue
Block a user