matrox maven: Fix a broken error path
PATCH 1/3 matrox maven: Fix a broken error path
I broke an error path with d03c21ec0be7787ff6b75dcf56c0e96209ccbfbd, sorry about that.
Signed-off-by Jean Delvare <[email protected]>
--- drivers/video/matrox/matroxfb_maven.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/matrox/matroxfb_maven.c +1 -1
@@ -1266,7 +1266,7 @@ static int maven_detect_client(struct i2 ERROR4:;i2c_detach_client (new_client); ERROR3:; -kfree (new_client); +kfree (data); ERROR0:;return err; }
Signature · 7 lines
Jean Delvare ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php