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:
Jesper Juhl 2007-07-29 00:45:59 +02:00 committed by Len Brown
parent 7a883eaf62
commit de47b69c7b
1 changed files with 1 additions and 0 deletions

View File

@ -1192,6 +1192,7 @@ static int asus_hotk_get_info(void)
break;
default:
kfree(model);
model = NULL;
break;
}
}