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:
@ -2350,7 +2350,7 @@ done:
|
||||
|
||||
error:
|
||||
Py_XDECREF(rv);
|
||||
rv = VIR_PY_NONE;
|
||||
rv = NULL;
|
||||
goto done;
|
||||
}
|
||||
#endif /* LIBVIR_CHECK_VERSION(1, 1, 3) */
|
||||
|
Reference in New Issue
Block a user