Re: [libvirt] [PATCH 2/3] vz: fix memory leak

2016-04-12 Thread Maxim Nestratov
06.04.2016 14:42, Nikolay Shirokovskiy пишет: we don't need to allocate mastr at all as it is array and already have the the space it needs. Signed-off-by: Nikolay Shirokovskiy --- src/vz/vz_sdk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index 0d

[libvirt] [PATCH 2/3] vz: fix memory leak

2016-04-06 Thread Nikolay Shirokovskiy
we don't need to allocate mastr at all as it is array and already have the the space it needs. Signed-off-by: Nikolay Shirokovskiy --- src/vz/vz_sdk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index 0d853d0..443f753 100644 --- a/src/vz/vz_sdk.c +++ b/