Home
last modified time | relevance | path

Searched hist:"83 c2fa73e682235d96a356991ed9028d782c5796" (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/xen/blkfront/
H A Dblkfront.cdiff 83c2fa73e682235d96a356991ed9028d782c5796 Mon Jul 30 13:27:51 CEST 2018 Roger Pau Monné <royger@FreeBSD.org> xen-blkfront: fix memory leak in xbd_connect error path

If gnttab_grant_foreign_access() fails for any of the indirection
pages, the code breaks out of both the loops without freeing the local
variable indirectpages, causing a memory leak.

Submitted by: Pratyush Yadav <pratyush@freebsd.org>
Differential Review: https://reviews.freebsd.org/D16136