diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-06-24 19:39:59 +0300 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2019-08-08 12:22:54 +0300 |
commit | 6b7c3b86f0b63134b2ab56508921a0853ffa687a (patch) | |
tree | 2d1c63d57abcf7ae63b81a4a5b08024cda989993 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f536579c148249505b388d525ac1866e080fd66a (diff) | |
download | linux-6b7c3b86f0b63134b2ab56508921a0853ffa687a.tar.xz |
drm/vmwgfx: fix memory leak when too many retries have occurred
Currently when too many retries have occurred there is a memory
leak on the allocation for reply on the error return path. Fix
this by kfree'ing reply before returning.
Addresses-Coverity: ("Resource leak")
Fixes: a9cd9c044aa9 ("drm/vmwgfx: Add a check to handle host message failure")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions