diff options
author | Dexuan Cui <decui@microsoft.com> | 2014-11-25 07:32:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-27 06:03:04 +0300 |
commit | f6712238471a8afdbfcea482483fc121281292d8 (patch) | |
tree | d52d8af9b315837e838a582dc3ab540023c9decb /drivers/misc | |
parent | 4300f26492b2438c4c1930552dfe83cb09c0ab31 (diff) | |
download | linux-f6712238471a8afdbfcea482483fc121281292d8.tar.xz |
hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block
If num_ballooned is not 0, we shouldn't neglect the
already-partially-allocated 2MB memory block(s).
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions