diff options
-rw-r--r-- | drivers/video/matrox/matroxfb_maven.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/matrox/matroxfb_maven.c b/drivers/video/matrox/matroxfb_maven.c index 89da27bd5c49..2ad06b0125c3 100644 --- a/drivers/video/matrox/matroxfb_maven.c +++ b/drivers/video/matrox/matroxfb_maven.c | |||
@@ -1266,7 +1266,7 @@ static int maven_detect_client(struct i2c_adapter* adapter, int address, int kin | |||
1266 | ERROR4:; | 1266 | ERROR4:; |
1267 | i2c_detach_client(new_client); | 1267 | i2c_detach_client(new_client); |
1268 | ERROR3:; | 1268 | ERROR3:; |
1269 | kfree(new_client); | 1269 | kfree(data); |
1270 | ERROR0:; | 1270 | ERROR0:; |
1271 | return err; | 1271 | return err; |
1272 | } | 1272 | } |