diff options
| author | Dan Carpenter <[email protected]> | 2020-03-20 16:23:34 +0300 |
|---|---|---|
| committer | Emil Velikov <[email protected]> | 2020-05-17 17:14:38 +0100 |
| commit | ec0bb482de0ad5e4aba2a4537ea53eaeb77d11a6 (patch) | |
| tree | 91e698fcc1e74225da67cd572aa02ccfb77be1a9 /tools/perf/scripts/python/netdev-times.py | |
| parent | 5fa63f0773323b1d028f2da5c94b8f3e38619b69 (diff) | |
drm/gem: Fix a leak in drm_gem_objects_lookup()
If the "handles" allocation or the copy_from_user() fails then we leak
"objs". It's supposed to be freed in panfrost_job_cleanup().
Fixes: c117aa4d8701 ("drm: Add a drm_gem_objects_lookup helper")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20200320132334.GC95012@mwanda
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions