Re: [Libguestfs] [nbdkit PATCH] test-layers: Avoid thread leak

2018-11-08 Thread Richard W.M. Jones
On Wed, Nov 07, 2018 at 09:16:37PM -0600, Eric Blake wrote: > On 11/7/18 9:02 PM, Eric Blake wrote: > >Running 'make check' under a ThreadSanitizer build complains that > >test-layers leaks a pthread; while harmless, it is also an easy > >fix, by detaching the thread to ensure it gets cleaned up.

Re: [Libguestfs] [nbdkit PATCH] test-layers: Avoid thread leak

2018-11-07 Thread Eric Blake
On 11/7/18 9:02 PM, Eric Blake wrote: Running 'make check' under a ThreadSanitizer build complains that test-layers leaks a pthread; while harmless, it is also an easy fix, by detaching the thread to ensure it gets cleaned up. Signed-off-by: Eric Blake --- tests/test-layers.c | 6 ++ 1

[Libguestfs] [nbdkit PATCH] test-layers: Avoid thread leak

2018-11-07 Thread Eric Blake
Running 'make check' under a ThreadSanitizer build complains that test-layers leaks a pthread; while harmless, it is also an easy fix, by detaching the thread to ensure it gets cleaned up. Signed-off-by: Eric Blake --- tests/test-layers.c | 6 ++ 1 file changed, 6 insertions(+) diff --git