efi_driver: set DM_FLAG_NAME_ALLOCED flag
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 30 Jun 2018 05:11:32 +0000 (07:11 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 12:59:44 +0000 (14:59 +0200)
commitdf76431b11396b940b5aa9b25edd5b0a33b18911
tree2bc132ce33efba713a43e00bbc48c35d7d3d52c5
parent1bfb1579be510ebad9656eb68fac48f1086431e7
efi_driver: set DM_FLAG_NAME_ALLOCED flag

Set the DM_FLAG_NAME_ALLOCED flag to avoid a memory leak when the block
device is removed.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_driver/efi_block_device.c