Re: [PATCH] vhost-user-test: fix a memory leak

2019-12-11 Thread Pan Nengyuan
On 2019/12/11 16:18, Marc-André Lureau wrote: > Hi > > On Wed, Dec 11, 2019 at 11:57 AM Thomas Huth wrote: >> >> Hi! >> >> On 11/12/2019 01.55, pannengy...@huawei.com wrote: >> [...] >>> diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c >>> index 91ea373..54be931 100644 >>> --- a

Re: [PATCH] vhost-user-test: fix a memory leak

2019-12-11 Thread Pan Nengyuan
On 2019/12/11 15:57, Thomas Huth wrote: > Hi! > > On 11/12/2019 01.55, pannengy...@huawei.com wrote: > [...] >> diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c >> index 91ea373..54be931 100644 >> --- a/tests/vhost-user-test.c >> +++ b/tests/vhost-user-test.c >> @@ -717,6 +717,8

Re: [PATCH] vhost-user-test: fix a memory leak

2019-12-11 Thread Pan Nengyuan
On 2019/12/11 15:48, Laurent Vivier wrote: > On 11/12/2019 01:55, pannengy...@huawei.com wrote: >> From: Pan Nengyuan >> >> Spotted by ASAN. >> >> Reported-by: Euler Robot >> Signed-off-by: Pan Nengyuan >> --- >> tests/vhost-user-test.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff -

Re: [PATCH] vhost-user-test: fix a memory leak

2019-12-11 Thread Marc-André Lureau
Hi On Wed, Dec 11, 2019 at 11:57 AM Thomas Huth wrote: > > Hi! > > On 11/12/2019 01.55, pannengy...@huawei.com wrote: > [...] > > diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c > > index 91ea373..54be931 100644 > > --- a/tests/vhost-user-test.c > > +++ b/tests/vhost-user-test.c >

Re: [PATCH] vhost-user-test: fix a memory leak

2019-12-10 Thread Thomas Huth
Hi! On 11/12/2019 01.55, pannengy...@huawei.com wrote: [...] > diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c > index 91ea373..54be931 100644 > --- a/tests/vhost-user-test.c > +++ b/tests/vhost-user-test.c > @@ -717,6 +717,8 @@ static void test_migrate(void *obj, void *arg, > QGu

Re: [PATCH] vhost-user-test: fix a memory leak

2019-12-10 Thread Laurent Vivier
On 11/12/2019 01:55, pannengy...@huawei.com wrote: > From: Pan Nengyuan > > Spotted by ASAN. > > Reported-by: Euler Robot > Signed-off-by: Pan Nengyuan > --- > tests/vhost-user-test.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c

[PATCH] vhost-user-test: fix a memory leak

2019-12-10 Thread pannengyuan
From: Pan Nengyuan Spotted by ASAN. Reported-by: Euler Robot Signed-off-by: Pan Nengyuan --- tests/vhost-user-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c index 91ea373..54be931 100644 --- a/tests/vhost-user-test.c +++ b/tests/