Thread (2 messages) 2 messages, 2 authors, 2020-08-07

Re: [PATCH] drm/virtio: fix memory leak in virtio_gpu_cleanup_object()

From: Gerd Hoffmann <kraxel@redhat.com>
Date: 2020-08-07 12:43:19
Also in: dri-devel, lkml

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

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help