Re: [PATCH] tools: ffs-aio-example: free memory upon failure

2015-11-19 Thread Wei, Jiangang
On Wed, 2015-11-18 at 10:46 +0100, Robert Baldyga wrote: > Hi Wei, > > On 11/18/2015 07:13 AM, Wei, Jiangang wrote: > > To whom it may concern: > > > > Sorry to bother again, > > But any comment about this patch? > > > > Reviewed-by: Robert Baldyga > > It looks good to me. By the way, maybe w

Re: [PATCH] tools: ffs-aio-example: free memory upon failure

2015-11-18 Thread Robert Baldyga
Hi Wei, On 11/18/2015 07:13 AM, Wei, Jiangang wrote: > To whom it may concern: > > Sorry to bother again, > But any comment about this patch? > Reviewed-by: Robert Baldyga It looks good to me. By the way, maybe we should also close file descriptors in error path? Thanks, Robert Baldyga > On

Re: [PATCH] tools: ffs-aio-example: free memory upon failure

2015-11-17 Thread Wei, Jiangang
To whom it may concern: Sorry to bother again, But any comment about this patch? Regards, wei On Mon, 2015-11-09 at 14:16 +0800, Wei Jiangang wrote: > Free buffer to avoid memory leak upon failure occurs. > > Signed-off-by: Wei Jiangang > --- > tools/usb/ffs-aio-example/multibuff/device_app/ai

[PATCH] tools: ffs-aio-example: free memory upon failure

2015-11-08 Thread Wei Jiangang
Free buffer to avoid memory leak upon failure occurs. Signed-off-by: Wei Jiangang --- tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c | 4 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c | 4 2 files changed, 8 insertions(+) diff --git a/tools/usb/ffs-aio