diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2017-03-13 15:57:09 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-30 09:41:27 +0200 |
commit | b1f6b0a5a066196e0bf1d504a7afaef4643a13ad (patch) | |
tree | 120d8ff3a41d47f790a25e511e7dd78fd8d10e80 /fs/char_dev.c | |
parent | 3076066bb5076411627f9dffd9d59ff2497f7eac (diff) |
Drivers: hv: vmbus: Don't leak channel ids
commit 9a5476020a5f06a0fc6f17097efc80275d2f03cd upstream.
If we cannot allocate memory for the channel, free the relid
associated with the channel.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions