Wei Liu writes ("Re: [PATCH] libxl: close fd's in parent when spawning qdisk"):
> On Tue, Feb 16, 2016 at 11:49:53AM +, Ian Campbell wrote:
> > Coverity points out that these remain open in the parent upon
> > success, which is a resource leak.
>
> Acked-by: Wei Liu
Committed-by: Ian Jackson
On Tue, Feb 16, 2016 at 11:49:53AM +, Ian Campbell wrote:
> Coverity points out that these remain open in the parent upon
> success, which is a resource leak.
>
> To fix this rejig the exit paths such that success and error cases
> both close the two fds, this means adjusting the callback to o