fix error-path NULL deref in alloc_posix_timer()
authorDan Carpenter <error27@gmail.com>
Thu, 2 Oct 2008 21:50:14 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 2 Oct 2008 22:53:13 +0000 (15:53 -0700)
commitaa94fbd5ccd840c8ab26d02439ec799b03a72547
tree37ebc732cc75d827e5779f2297b6a28c0f0eadaa
parentc0c9209ddd96bc4f1d70a8b9958710671e076080
fix error-path NULL deref in alloc_posix_timer()

Found by static checker (http://repo.or.cz/w/smatch.git).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/posix-timers.c