diff options
author | Zack Rusin <[email protected]> | 2021-01-28 12:35:22 -0500 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2021-02-09 17:16:57 +0100 |
commit | bb0ea196390590accde0674ff1475c2b5a283628 (patch) | |
tree | 60e4ca3ab0d2cb5c51ba289ec57e8ae57e71f5ce /lib/mpi/mpi-sub-ui.c | |
parent | 439dde0a96f0d7a396f342a3918a0af28d9b5541 (diff) |
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 <[email protected]>
Reviewed-by: Martin Krastev <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 75ec69c79ebcae0ad16baf2249e378f5b02bdc12)
Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions