]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
firmware: add missing kfree for work on async call
authorLuis R. Rodriguez <mcgrof@suse.com>
Fri, 29 May 2015 00:46:42 +0000 (17:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jun 2015 01:22:34 +0000 (10:22 +0900)
commit303cda0ea7c1c33701812ccb80d37083a4093c7c
tree29412681ec203464a1c2b6493b40a565a17a328d
parenteaa5cd926345f86e9df1eb6b0490da539f5ce7d0
firmware: add missing kfree for work on async call

The recent fix to use kstrdup_const() failed to add a
kfree upon failure of name allocation...

Cc: Ming Lei <ming.lei@canonical.com>
Cc: Seth Forshee <seth.forshee@canonical.com>
Cc: Kyle McMartin <kyle@kernel.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_class.c