summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adt7310.c
diff options
context:
space:
mode:
authorGen Zhang2019-05-28 03:12:39 +0200
committerSteve French2019-05-29 02:13:58 +0200
commit50fbc13dc12666f3604dc2555a47fc8c4e29162b (patch)
treeb8bfab343386e7c7d3f096269d2eeab7620e8afd /drivers/hwmon/adt7310.c
parentfs/cifs/smb2pdu.c: fix buffer free in SMB2_ioctl_free (diff)
downloadkernel-qcow2-linux-50fbc13dc12666f3604dc2555a47fc8c4e29162b.tar.gz
kernel-qcow2-linux-50fbc13dc12666f3604dc2555a47fc8c4e29162b.tar.xz
kernel-qcow2-linux-50fbc13dc12666f3604dc2555a47fc8c4e29162b.zip
dfs_cache: fix a wrong use of kfree in flush_cache_ent()
In flush_cache_ent(), 'ce->ce_path' is allocated by kstrdup_const(). It should be freed by kfree_const(), rather than kfree(). Signed-off-by: Gen Zhang <blackgod016574@gmail.com> Reviewed-by: Paulo Alcantara <palcantara@suse.de> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/hwmon/adt7310.c')
0 files changed, 0 insertions, 0 deletions