Re: [Xen-devel] [PATCH] libxl: Fix memory leak if pthread_create fails.

2015-03-26 Thread Jim Fehlig
Konrad Rzeszutek Wilk wrote: > If we fail to create the thread we leak the shutdown_info > structure. > Nice catch, thanks! ACK and pushed. Regards, Jim > Signed-off-by: Konrad Rzeszutek Wilk > --- > src/libxl/libxl_domain.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > dif

[Xen-devel] [PATCH] libxl: Fix memory leak if pthread_create fails.

2015-03-25 Thread Konrad Rzeszutek Wilk
If we fail to create the thread we leak the shutdown_info structure. Signed-off-by: Konrad Rzeszutek Wilk --- src/libxl/libxl_domain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libxl/libxl_domain.c b/src/libxl/libxl_domain.c index 774b070..0ac5c62 100644 --- a/src