diff options
| author | Zack Rusin <zackr@vmware.com> | 2021-01-28 12:35:22 -0500 |
|---|---|---|
| committer | Zack Rusin <zackr@vmware.com> | 2021-02-02 11:41:28 -0500 |
| commit | 75ec69c79ebcae0ad16baf2249e378f5b02bdc12 (patch) | |
| tree | 24a2e0a92b456dfbccd566683db477f622aa46db /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | drm/vc4: remove unneeded variable: "ret" (diff) | |
| download | linux-75ec69c79ebcae0ad16baf2249e378f5b02bdc12.tar.gz linux-75ec69c79ebcae0ad16baf2249e378f5b02bdc12.zip | |
drm/vmwgfx: Fix some memory leaks on errors
Dan noticed some issues with pci_release_region, this builds upon
that and fixes some other lingering issues. As part of this we
also can stop trying to manually free our managed device;
there's no need for it, it will be cleaned up automatically for us.
Fixes: 8772c0bb58bb ("drm/vmwgfx: Cleanup pci resource allocation")
Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210128173756.121525-1-zackr@vmware.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
