freebsd-skq/sys/dev/xen/blkfront
royger 13fa38d951 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
2018-07-30 11:27:51 +00:00
..
blkfront.c xen-blkfront: fix memory leak in xbd_connect error path 2018-07-30 11:27:51 +00:00
block.h