diff options
| author | Navid Emamdoost <[email protected]> | 2019-09-30 03:09:45 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-10-04 08:20:57 +0000 |
| commit | 5bdea6060618cfcf1459dca137e89aee038ac8b9 (patch) | |
| tree | 96fa01a06e8c5daa2a93ba72bd1adfc8f046738c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | staging: speakup: document sysfs attributes (diff) | |
| download | kernel-5bdea6060618cfcf1459dca137e89aee038ac8b9.tar.gz kernel-5bdea6060618cfcf1459dca137e89aee038ac8b9.zip | |
Staging: fbtft: fix memory leak in fbtft_framebuffer_alloc
In fbtft_framebuffer_alloc the error handling path should take care of
releasing frame buffer after it is allocated via framebuffer_alloc, too.
Therefore, in two failure cases the goto destination is changed to
address this issue.
Fixes: c296d5f9957c ("staging: fbtft: core support")
Signed-off-by: Navid Emamdoost <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
