]> err.no Git - linux-2.6/commit
V4L/DVB (6784): tda8290: prevent possible memory leak
authorMichael Krufky <mkrufky@linuxtv.org>
Sun, 9 Dec 2007 08:16:10 +0000 (05:16 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:27 +0000 (19:03 -0200)
commitfa746aee336fedfe25e6945e5967399966948420
tree6cf253bc27278ca67ebfd879593dfd9c8970863c
parentc7919d520f4c9a064ae14bc4dd170c4c12ead2af
V4L/DVB (6784): tda8290: prevent possible memory leak

Always call tda829x_release if tda829x_attach fails for a reason
other than failure to allocate memory for private structure.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tda8290.c