freebsd-dev/sys/dev/xen/blkfront
Roger Pau Monné 83c2fa73e6 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 sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00