Re: [PATCH v2] test-vmstate: Fix memleaks in test_load_qlist

2020-02-27 Thread Juan Quintela
wrote: > From: Chen Qun > > There is memleak in test_load_qlist().It's not a big deal, > but test-vmstate will fail if sanitizers is enabled. > > In addition, "ret" is written twice with the same value > in test_gtree_load_iommu(). > > Reported-by: Euler Robot > Signed-off-by: Chen Qun Review

Re: [PATCH v2] test-vmstate: Fix memleaks in test_load_qlist

2020-02-20 Thread Laurent Vivier
Le 20/02/2020 à 14:41, kuhn.chen...@huawei.com a écrit : > From: Chen Qun > > There is memleak in test_load_qlist().It's not a big deal, > but test-vmstate will fail if sanitizers is enabled. > > In addition, "ret" is written twice with the same value > in test_gtree_load_iommu(). > > Reported

[PATCH v2] test-vmstate: Fix memleaks in test_load_qlist

2020-02-20 Thread kuhn.chenqun
From: Chen Qun There is memleak in test_load_qlist().It's not a big deal, but test-vmstate will fail if sanitizers is enabled. In addition, "ret" is written twice with the same value in test_gtree_load_iommu(). Reported-by: Euler Robot Signed-off-by: Chen Qun --- tests/test-vmstate.c | 6 ++