Date: Tue, 12 Apr 2011 09:36:38 +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: <201104120936.p3C9avjD063734@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
trociny 2011-04-12 09:36:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/geom/eli g_eli.c Log: SVN rev 220562 on 2011-04-12 09:36:38Z 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) Tested by: Oliver Pinter <oliver.pinter@gmail.com> Approved by: kib (co-mentor) Revision Changes Path 1.38.2.1 +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?201104120936.p3C9avjD063734>