drivers/video/uvesafb.c: fix error-path memory leak
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 28 Apr 2008 09:15:41 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:41 +0000 (08:58 -0700)
commit60c1645dfac320e992bb5635887b7698ae6606bc
tree31916e1b7b0a42745ba4165e1bb1cc97cbbfb0c2
parent0e27aa3dabb541edee9f23b37114856a528de01e
drivers/video/uvesafb.c: fix error-path memory leak

Fix bug identified by Daniel Marjamki: `m' is leaked on the error path.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=10452

Cc: Daniel Marjamki <danielm77@spray.se>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/uvesafb.c