]> asedeno.scripts.mit.edu Git - linux.git/commit
firmware: fix wrong memory deallocation in fw_add_devm_name()
authorVladimir Zapolskiy <vz@mleia.com>
Wed, 29 Jul 2015 20:26:28 +0000 (23:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 22:18:26 +0000 (15:18 -0700)
commita885de67157e8e65b92af2e0a77f6eadd112d0b7
tree44bbcfa367596ce5c16c85f165fd654747d32368
parent223e8f01b072152cc4336e7dcb1cf8c21ab34432
firmware: fix wrong memory deallocation in fw_add_devm_name()

Device resource data allocated with devres_alloc() must be deallocated
by devres_free().

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_class.c