summaryrefslogtreecommitdiff
path: root/drivers/tee/tee_shm_pool.c
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2018-01-12 00:38:00 +0300
committerChristoph Hellwig <hch@lst.de>2018-01-15 19:09:31 +0300
commitdf351ef73789345b4b6c00434c5fd1fca7175643 (patch)
treeb6564018f48115e5489dd9066f266cbd3b70444a /drivers/tee/tee_shm_pool.c
parent8adb8c147b2f6383a1676325c27e3dbc29d2fba7 (diff)
downloadlinux-df351ef73789345b4b6c00434c5fd1fca7175643.tar.xz
nvme-fabrics: fix memory leak when parsing host ID option
We use match_strdup() to get a copy of the option string for host ID string, but we just pass it to uuid_parse() and don't store the string pointer, so we need to kfree() the string after parsing it. Signed-off-by: Roland Dreier <roland@purestorage.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/tee/tee_shm_pool.c')
0 files changed, 0 insertions, 0 deletions