[libvirt PATCH 35/39] cpu_x86: Don't check return value of x86ModelCopy

Ján Tomko jtomko at redhat.com
Tue Apr 7 15:34:17 UTC 2020


On a Friday in 2020, Jiri Denemark wrote:
>Thanks to glib allocation functions which abort on OOM the function
>cannot ever return NULL.
>
>Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
>---
> src/cpu/cpu_x86.c | 14 ++++----------
> 1 file changed, 4 insertions(+), 10 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200407/f34e020e/attachment-0001.sig>


More information about the libvir-list mailing list