staging: iio: error case memory leak fix
authorAndre Bartke <andre.bartke@googlemail.com>
Wed, 1 Jun 2011 22:21:45 +0000 (00:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 19:28:43 +0000 (12:28 -0700)
commit53aebb5312c797e4b63fb50473a55ed054b3cb2f
treef108a02c9b34e8abe10301fc1dd00ef9bcf069cd
parent0d422f4237ce515678ebbb8781881e5d2e58b9d4
staging: iio: error case memory leak fix

The data pointer should be freed in the error
cases of adis16400_trigger_handler().

Signed-off-by: Andre Bartke <andre.bartke@gmail.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/imu/adis16400_ring.c