[libvirt] [PATCH] xenFormatXLDomainDisks: avoid double free on OOM testing

Wim Ten Have wim.ten.have at oracle.com
Mon Mar 27 20:20:18 UTC 2017


From: Wim ten Have <wim.ten.have at oracle.com>

This patch fixes a double free that exposed under OOM testing
xlconfigtest per DO_TEST("new-disk");

VIR_TEST_OOM=1 VIR_TEST_RANGE=5 ./tests/xlconfigtest

Wim ten Have (1):
  xenFormatXLDomainDisks: avoid double free on OOM testing

 src/xenconfig/xen_xl.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

-- 
2.9.3




More information about the libvir-list mailing list