Staging: mrst-touchscreen: fix dereferencing free memory
authorDan Carpenter <error27@gmail.com>
Sat, 5 Jun 2010 17:16:42 +0000 (19:16 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Jun 2010 15:18:14 +0000 (08:18 -0700)
commit44176d9f8265de799512f833ca4d9785aa016b3a
tree27a9f4c4ae81529e8cf2b1090dfca2d17e11869f
parenteb169d1cc7fb219cc42c584f7a195f71913e6b6a
Staging: mrst-touchscreen: fix dereferencing free memory

I moved the kfree() down a couple lines after the dereference.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/mrst-touchscreen/intel-mid-touch.c