[PATCH] imsttfb: Fix resource leak
authorAntonino A. Daplas <adaplas@gmail.com>
Sat, 11 Mar 2006 11:27:24 +0000 (03:27 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 11 Mar 2006 17:19:35 +0000 (09:19 -0800)
commit91bc89cf98f8aa83c64e14a8939d4f5d0790cf24
tree70327fc3e4ddf7ff7383cf7c824b224c1b4d159a
parent98365f5eb47e23d6ac1244da556984a74260021e
[PATCH] imsttfb: Fix resource leak

The struct info and device resource may not be released in the driver's error
path.  Fix.

Coverity Bug 671

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/imsttfb.c