summaryrefslogtreecommitdiffstats
path: root/usr.sbin/usbdump
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2011-04-03 17:38:12 +0000
committertrociny <trociny@FreeBSD.org>2011-04-03 17:38:12 +0000
commite95ea389566188409a5acd3a88207d354b098ec5 (patch)
treebacca279c72fc9213626c6b36c3ff72b61a54516 /usr.sbin/usbdump
parentdd70a45751d7a32ce092ffaae6154831c4431ac4 (diff)
downloadFreeBSD-src-e95ea389566188409a5acd3a88207d354b098ec5.zip
FreeBSD-src-e95ea389566188409a5acd3a88207d354b098ec5.tar.gz
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
Diffstat (limited to 'usr.sbin/usbdump')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud