Re: [Qemu-devel] [PATCH] tests: test-qgraph: fix a memory leak

2019-03-11 Thread Paolo Bonzini
On 10/03/19 17:02, Li Qiang wrote: > Spotted by ASAN when 'make check'. > > Signed-off-by: Li Qiang > --- > tests/test-qgraph.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tests/test-qgraph.c b/tests/test-qgraph.c > index f6a6565e31..5c7e457075 100644 > --- a/test

Re: [Qemu-devel] [PATCH] tests: test-qgraph: fix a memory leak

2019-03-11 Thread Philippe Mathieu-Daudé
On 3/10/19 5:02 PM, Li Qiang wrote: > Spotted by ASAN when 'make check'. > Fixes: fc281c80202 > Signed-off-by: Li Qiang Reviewed-by: Philippe Mathieu-Daudé > --- > tests/test-qgraph.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tests/test-qgraph.c b/tests/tes

Re: [Qemu-devel] [PATCH] tests: test-qgraph: fix a memory leak

2019-03-11 Thread Thomas Huth
On 10/03/2019 17.02, Li Qiang wrote: > Spotted by ASAN when 'make check'. > > Signed-off-by: Li Qiang > --- > tests/test-qgraph.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tests/test-qgraph.c b/tests/test-qgraph.c > index f6a6565e31..5c7e457075 100644 > --- a/te

[Qemu-devel] [PATCH] tests: test-qgraph: fix a memory leak

2019-03-10 Thread Li Qiang
Spotted by ASAN when 'make check'. Signed-off-by: Li Qiang --- tests/test-qgraph.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test-qgraph.c b/tests/test-qgraph.c index f6a6565e31..5c7e457075 100644 --- a/tests/test-qgraph.c +++ b/tests/test-qgraph.c @@ -122,7 +12