diff options
author | Roland Dreier <[email protected]> | 2018-01-11 13:38:00 -0800 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2018-01-15 17:09:31 +0100 |
commit | df351ef73789345b4b6c00434c5fd1fca7175643 (patch) | |
tree | b6564018f48115e5489dd9066f266cbd3b70444a /net/unix/sysctl_net_unix.c | |
parent | 8adb8c147b2f6383a1676325c27e3dbc29d2fba7 (diff) |
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 <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions