https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264057
Bug ID: 264057
Summary: mad: Fix a possible memory leak
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Created attachment 234011
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234011&action=edit
a possible patch
If ib_dma_mapping_error, it will jump out of the loop, leaving
mad_priv allocated by alloc_mad_private not freed. It will cause
a memory leak. Fix it with kfree.
--
You are receiving this mail because:
You are the assignee for the bug.