Re: [PATCH] tools: usb: usbip: fix fd leak in case of 'fread' failure

2018-01-02 Thread Shuah Khan
On 12/30/2017 09:01 AM, Elad Wexler wrote: > Fix possible resource leak: fd > > Signed-off-by: Elad Wexler Thanks for the patch. Looks good to me. Acked-by: Shuah Khan Greg, please pick this patch up. thanks, -- Shuah -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in

[PATCH] tools: usb: usbip: fix fd leak in case of 'fread' failure

2017-12-30 Thread Elad Wexler
Fix possible resource leak: fd Signed-off-by: Elad Wexler --- tools/usb/usbip/libsrc/usbip_device_driver.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/usb/usbip/libsrc/usbip_device_driver.c b/tools/usb/usbip/libsrc/usbip_device_driver.c index e059b7d..1aa27af 1