commit | fa00e106eb6f082654d822a0946c0c86297ede2c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Tue Dec 01 13:17:41 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Dec 01 16:32:19 2009 -0800 |
tree | f176cc90a568182419de69c555c25f9c2459a188 | |
parent | 4c4cb1b1605e50983afd7924980c9434b214599f [diff] |
drivers/rtc/rtc-pcf50633.c: fix use after free in pcf50633_rtc_probe() "rtc" is freed and then dereferenced on the next line. This patch fixes that. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Alessandro Zummo <a.zummo@towertech.it> Cc: David Brownell <david-b@pacbell.net> Cc: Paul Gortmaker <p_gortmaker@yahoo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>