mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
asus_acpi: fix possible double free (found by Coverity)
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
7a883eaf62
commit
de47b69c7b
1 changed files with 1 additions and 0 deletions
|
@ -1192,6 +1192,7 @@ static int asus_hotk_get_info(void)
|
|||
break;
|
||||
default:
|
||||
kfree(model);
|
||||
model = NULL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue