commit | f6712238471a8afdbfcea482483fc121281292d8 | [log] [tgz] |
---|---|---|
author | Dexuan Cui <decui@microsoft.com> | Mon Nov 24 20:32:43 2014 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 26 19:03:04 2014 -0800 |
tree | d52d8af9b315837e838a582dc3ab540023c9decb | |
parent | 4300f26492b2438c4c1930552dfe83cb09c0ab31 [diff] |
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>