]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_cgroup: initialize mem_mask to NULL
authorPavel Hrdina <phrdina@redhat.com>
Tue, 17 Feb 2015 13:08:22 +0000 (14:08 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 17 Feb 2015 13:22:50 +0000 (14:22 +0100)
commit77a9dc0b8dc714212a8550314178b09684719546
tree76df97942e6a6ce1f80c6ad626bcce6d072ce67a
parent5e4f49ab8aa2dc7e71b8482e2f15f2a7de1c1006
qemu_cgroup: initialize mem_mask to NULL

If 'virNumaGetHostNodeset()' fails then the error path will try to free
uninitialized pointer mem_mask. Introduced by commit af2a1f058.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_cgroup.c