aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorAllen Hung <[email protected]>2016-07-15 17:42:22 +0800
committerJean Delvare <[email protected]>2016-09-08 10:35:50 +0200
commit9b41b92bbae6a4d3e1f3adde87864fd481037814 (patch)
tree4d433b5ae15b28eea2fa6dd81fe9fe360c7391f2 /scripts/gdb/linux
parentd71f058617564750261b673ea9b3352382b9cde4 (diff)
dmi-id: don't free dev structure after calling device_register
dmi_dev is freed in error exit code but, according to the document of device_register, it should never directly free device structure after calling this function, even if it returned an error! Use put_device() instead. Signed-off-by: Allen Hung <[email protected]> Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions