Re: [PATVH] media, dvb, IX2505V: Remember to free allocated memory in failure path (ix2505v_attach()).

2011-01-02 Thread Jesper Juhl
On Sun, 2 Jan 2011, Jesper Juhl wrote: On Fri, 31 Dec 2010, Malcolm Priestley wrote: On Fri, 2010-12-31 at 15:51 +0100, Jesper Juhl wrote: On Fri, 31 Dec 2010, Malcolm Priestley wrote: On Fri, 2010-12-31 at 00:11 +0100, Jesper Juhl wrote: Hi, We may leak the

Re: [PATVH] media, dvb, IX2505V: Remember to free allocated memory in failure path (ix2505v_attach()).

2010-12-31 Thread Mauro Carvalho Chehab
Em 30-12-2010 21:11, Jesper Juhl escreveu: Hi, We may leak the storage allocated to 'state' in drivers/media/dvb/frontends/ix2505v.c::ix2505v_attach() on error. This patch makes sure we free the allocated memory in the failure case. Signed-off-by: Jesper Juhl j...@chaosbits.net ---

Re: [PATVH] media, dvb, IX2505V: Remember to free allocated memory in failure path (ix2505v_attach()).

2010-12-31 Thread Malcolm Priestley
On Fri, 2010-12-31 at 15:51 +0100, Jesper Juhl wrote: On Fri, 31 Dec 2010, Malcolm Priestley wrote: On Fri, 2010-12-31 at 00:11 +0100, Jesper Juhl wrote: Hi, We may leak the storage allocated to 'state' in drivers/media/dvb/frontends/ix2505v.c::ix2505v_attach() on error. This

[PATVH] media, dvb, IX2505V: Remember to free allocated memory in failure path (ix2505v_attach()).

2010-12-30 Thread Jesper Juhl
Hi, We may leak the storage allocated to 'state' in drivers/media/dvb/frontends/ix2505v.c::ix2505v_attach() on error. This patch makes sure we free the allocated memory in the failure case. Signed-off-by: Jesper Juhl j...@chaosbits.net --- ix2505v.c |1 + 1 file changed, 1 insertion(+)