]> xenbits.xensource.com Git - libvirt.git/commit
cpu_x86: Don't check return value of x86ModelCopy
authorJiri Denemark <jdenemar@redhat.com>
Thu, 26 Mar 2020 15:16:49 +0000 (16:16 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 8 Apr 2020 15:43:31 +0000 (17:43 +0200)
commit70f3041d39802e53a19901bee040ff33850cd5e0
tree8a689f63caef997f9a6eaffcbaea2a810576e99c
parent22bded201ffc91661e44065203dcb987e51084ca
cpu_x86: Don't check return value of x86ModelCopy

Thanks to glib allocation functions which abort on OOM the function
cannot ever return NULL.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/cpu/cpu_x86.c