Message ID | 20200301015201.JcACTR4Xk%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | [merged] dma-buf-free-dmabuf-name-in-dma_buf_release.patch removed from -mm tree | expand |
--- a/drivers/dma-buf/dma-buf.c~dma-buf-free-dmabuf-name-in-dma_buf_release +++ a/drivers/dma-buf/dma-buf.c @@ -108,6 +108,7 @@ static int dma_buf_release(struct inode dma_resv_fini(dmabuf->resv); module_put(dmabuf->owner); + kfree(dmabuf->name); kfree(dmabuf); return 0; }