Re: [PATCH v2] tests: qmp-cmd-test: fix memory leak

2020-07-16 Thread Thomas Huth
On 16/07/2020 12.33, Li Qiang wrote: > Markus Armbruster 于2020年7月16日周四 下午5:52写道: >> >> Li Qiang writes: >> >>> Markus Armbruster 于2020年7月16日周四 下午1:59写道: Li Qiang writes: > Properly free each test response to avoid memory leak and separate > qtest_qmp() calls with spare li

Re: [PATCH v2] tests: qmp-cmd-test: fix memory leak

2020-07-16 Thread Li Qiang
Markus Armbruster 于2020年7月16日周四 下午5:52写道: > > Li Qiang writes: > > > Markus Armbruster 于2020年7月16日周四 下午1:59写道: > >> > >> Li Qiang writes: > >> > >> > Properly free each test response to avoid memory leak and separate > >> > qtest_qmp() calls with spare lines, in a consistent manner. > >> > > >>

Re: [PATCH v2] tests: qmp-cmd-test: fix memory leak

2020-07-16 Thread Markus Armbruster
Li Qiang writes: > Markus Armbruster 于2020年7月16日周四 下午1:59写道: >> >> Li Qiang writes: >> >> > Properly free each test response to avoid memory leak and separate >> > qtest_qmp() calls with spare lines, in a consistent manner. >> > >> > Fixes: 5b88849e7b9("tests/qmp-cmd-test: Add >> > qmp/object-a

Re: [PATCH v2] tests: qmp-cmd-test: fix memory leak

2020-07-16 Thread Thomas Huth
On 15/07/2020 17.41, Li Qiang wrote: > Properly free each test response to avoid memory leak and separate > qtest_qmp() calls with spare lines, in a consistent manner. > > Fixes: 5b88849e7b9("tests/qmp-cmd-test: Add > qmp/object-add-failure-modes" > > Reviewed-by: Eric Auger > Signed-off-by: Li

Re: [PATCH v2] tests: qmp-cmd-test: fix memory leak

2020-07-15 Thread Li Qiang
Markus Armbruster 于2020年7月16日周四 下午1:59写道: > > Li Qiang writes: > > > Properly free each test response to avoid memory leak and separate > > qtest_qmp() calls with spare lines, in a consistent manner. > > > > Fixes: 5b88849e7b9("tests/qmp-cmd-test: Add > > qmp/object-add-failure-modes" > > The pat

Re: [PATCH v2] tests: qmp-cmd-test: fix memory leak

2020-07-15 Thread Markus Armbruster
Li Qiang writes: > Properly free each test response to avoid memory leak and separate > qtest_qmp() calls with spare lines, in a consistent manner. > > Fixes: 5b88849e7b9("tests/qmp-cmd-test: Add > qmp/object-add-failure-modes" The patch also fixes leaks introduced in 442b09b83d and 9fc719b869,

[PATCH v2] tests: qmp-cmd-test: fix memory leak

2020-07-15 Thread Li Qiang
Properly free each test response to avoid memory leak and separate qtest_qmp() calls with spare lines, in a consistent manner. Fixes: 5b88849e7b9("tests/qmp-cmd-test: Add qmp/object-add-failure-modes" Reviewed-by: Eric Auger Signed-off-by: Li Qiang --- Change sincve v1: add detailed commit mess