Date: Sun, 3 Apr 2011 17:38:12 +0000 (UTC) From: Mikolaj Golub <trociny@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/geom/eli g_eli.c Message-ID: <201104031738.p33HcTBj046104@repoman.freebsd.org>
index | next in thread | raw e-mail
trociny 2011-04-03 17:38:12 UTC
FreeBSD src repository
Modified files:
sys/geom/eli g_eli.c
Log:
SVN rev 220299 on 2011-04-03 17:38:12Z by trociny
In g_eli_read_done() and g_eli_write_done(), for a bio with
bio_children > 1, g_destroy_bio() is never called and the bio
leaks. Fix this by calling g_destroy_bio() earlier, before the check.
Submitted by: Victor Balada Diaz <victor@bsdes.net> (initial version)
Approved by: pjd (mentor)
MFC after: 1 week
Revision Changes Path
1.62 +2 -2 src/sys/geom/eli/g_eli.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104031738.p33HcTBj046104>
