Gerd Hoffmann
2020-Aug-07 12:43 UTC
[PATCH] drm/virtio: fix memory leak in virtio_gpu_cleanup_object()
On Wed, Jul 22, 2020 at 01:18:51PM +0800, Xin He wrote:> Before setting shmem->pages to NULL, kfree() should > be called.> sg_free_table(shmem->pages); > + kfree(shmem->pages); > shmem->pages = NULL;Pushed to drm-misc-fixes. thanks, Gerd
Apparently Analagous Threads
- [PATCH AUTOSEL 5.8 06/63] drm/virtio: fix memory leak in virtio_gpu_cleanup_object()
- [PATCH AUTOSEL 5.7 05/54] drm/virtio: fix memory leak in virtio_gpu_cleanup_object()
- [PATCH 3/4] drm/virtio: move mapping teardown to virtio_gpu_cleanup_object()
- [PATCH v2 3/4] drm/virtio: move mapping teardown to virtio_gpu_cleanup_object()
- [PATCH 3/8] drm/shmem: drop DEFINE_DRM_GEM_SHMEM_FOPS