diff options
author | trociny <trociny@FreeBSD.org> | 2011-04-03 17:38:12 +0000 |
---|---|---|
committer | trociny <trociny@FreeBSD.org> | 2011-04-03 17:38:12 +0000 |
commit | e95ea389566188409a5acd3a88207d354b098ec5 (patch) | |
tree | bacca279c72fc9213626c6b36c3ff72b61a54516 /usr.sbin/usbdump | |
parent | dd70a45751d7a32ce092ffaae6154831c4431ac4 (diff) | |
download | FreeBSD-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