Date: Sun, 10 Apr 2011 19:31:00 +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: <201104101931.p3AJVEVT025028@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
trociny 2011-04-10 19:31:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/geom/eli g_eli.c Log: SVN rev 220529 on 2011-04-10 19:31:00Z by trociny MFC r220299: 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) Revision Changes Path 1.44.2.4 +2 -2 src/sys/geom/eli/g_eli.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104101931.p3AJVEVT025028>