]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c2739a1a9fc29453d59ee49b26ee5356aa6d023
tree31916e1b7b0a42745ba4165e1bb1cc97cbbfb0c2
parent598cd98bbd71c3121e363a0fd764a76ef9631abf
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