diff options
author | Dexuan Cui <[email protected]> | 2014-11-24 20:32:43 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-11-26 19:03:04 -0800 |
commit | f6712238471a8afdbfcea482483fc121281292d8 (patch) | |
tree | d52d8af9b315837e838a582dc3ab540023c9decb /tools/perf/util/trace-event-scripting.c | |
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 <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Acked-by: Jason Wang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions