Files
linux/drivers
Dan Carpenter e420637b81 w1_therm: Free the correct variable
The problem is that we change "p_args" to point to the middle of the
string so when we free it at the end of the function it's not freeing
the same pointer that we originally allocated.

Fixes: e2c94d6f57 ("w1_therm: adding alarm sysfs entry")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200520120019.GA172354@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-21 10:58:46 +02:00
..
2020-05-11 09:17:15 +02:00
2020-04-27 09:34:02 +02:00
2020-04-10 11:32:22 +02:00
2020-05-11 09:17:15 +02:00
2020-04-04 18:07:59 -07:00
2020-04-16 13:52:31 -07:00
2020-05-11 09:17:15 +02:00
2020-04-23 17:05:40 +02:00
2020-04-17 06:05:29 -04:00
2020-04-20 10:19:22 -04:00
2020-05-21 10:58:46 +02:00