drivers/platform/x86: Fix memory leak
authorAndre Bartke <andre.bartke@googlemail.com>
Fri, 3 Jun 2011 18:55:43 +0000 (20:55 +0200)
committerMatthew Garrett <mjg@redhat.com>
Thu, 7 Jul 2011 14:39:03 +0000 (10:39 -0400)
commit96b269c1b0e5a218096aa6ff240d2286e99ddd6d
treed0ee03be5869fbf968d2fce139238b922ccff4a3
parent2d43f671c8fb0fd72e896a8b31e15b98916f707d
drivers/platform/x86: Fix memory leak

data is not freed in the error case of
compal_probe().

Signed-off-by: Andre Bartke <andre.bartke@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/compal-laptop.c