Re: [PATCH 1/3] USB: mxu11x0: fix memory leak on usb_serial private data

2016-01-03 Thread Johan Hovold
On Sun, Jan 03, 2016 at 03:25:59PM +0100, Mathieu OTHACEHE wrote: > On nominal execution, private data allocated on port_probe and attach > are never freed. Add port_remove and release callbacks to free them > respectively. Ouch. I thought I'd vetted the driver for further memleaks but apparently

[PATCH 1/3] USB: mxu11x0: fix memory leak on usb_serial private data

2016-01-03 Thread Mathieu OTHACEHE
On nominal execution, private data allocated on port_probe and attach are never freed. Add port_remove and release callbacks to free them respectively. Signed-off-by: Mathieu OTHACEHE --- drivers/usb/serial/mxu11x0.c | 20 1 file changed, 20 insertions(+) diff --git a/drive