summaryrefslogtreecommitdiffstats
path: root/sound/pci/bt87x.c
diff options
context:
space:
mode:
authorYangtao Li2019-01-19 17:04:54 +0100
committerMyungJoo Ham2019-04-16 02:29:18 +0200
commita9487917ba6728dd618ae6d418a7f2197f1b4592 (patch)
tree8d2ba76caaeedfed1f4c9ebe6c320c706bd55a83 /sound/pci/bt87x.c
parentPM / devfreq: Use of_node_name_eq for node name comparisons (diff)
downloadkernel-qcow2-linux-a9487917ba6728dd618ae6d418a7f2197f1b4592.tar.gz
kernel-qcow2-linux-a9487917ba6728dd618ae6d418a7f2197f1b4592.tar.xz
kernel-qcow2-linux-a9487917ba6728dd618ae6d418a7f2197f1b4592.zip
PM / devfreq: fix mem leak in devfreq_add_device()
'devfreq' is malloced in devfreq_add_device() and should be freed in the error handling cases, otherwise it will cause memory leak. Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'sound/pci/bt87x.c')
0 files changed, 0 insertions, 0 deletions