Re: [PATCH V1] input: fix memory leak in da9052 touchscreen driver

2014-01-08 Thread Dmitry Torokhov
Anthony Olech wrote: >The touchscreen component driver for the da9052/3 Dialog PMICs >leaks memory by not freeing the input device in the remove call. > >This patch matches the existing call to input_alloc_device() >in da9052_ts_probe() to a new call to input_free_device() in >da9052_ts_remove() >

RE: [PATCH V1] input: fix memory leak in da9052 touchscreen driver

2014-01-08 Thread Opensource [Anthony Olech]
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 08 January 2014 17:26 > To: Opensource [Anthony Olech] > Cc: linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; Huqiu Liu; > David Dajun Chen > Subject: Re: [PATCH V1] inpu

Re: [PATCH V1] input: fix memory leak in da9052 touchscreen driver

2014-01-08 Thread Dmitry Torokhov
@vger.kernel.org; linux-kernel@vger.kernel.org; Huqiu Liu; > > David Dajun Chen > > Subject: Re: [PATCH V1] input: fix memory leak in da9052 touchscreen driver > > Anthony Olech wrote: > > >The touchscreen component driver for the da9052/3 Dialog PMICs leaks > > >memory b