mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-05 22:08:19 +00:00
Fix memory leak.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3015 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
0cf832856d
commit
a006f300b3
1 file changed
+1
-1
+1
-1
@@ -2316,7 +2316,7 @@ static int lm93_detach_client(struct i2c_client *client)
|
|||||||
"client not detached.\n");
|
"client not detached.\n");
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
kfree(data);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user