Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/pci Plug a resource leak.



details:   https://anonhg.NetBSD.org/src-all/rev/fe1e65e5d71e
branches:  trunk
changeset: 361269:fe1e65e5d71e
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Sun May 24 19:02:09 2020 +1000

description:
Plug a resource leak.

diffstat:

 sys/dev/pci/if_iwn.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r f9b92ca38208 -r fe1e65e5d71e sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Sun May 24 19:01:35 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Sun May 24 19:02:09 2020 +1000
@@ -2587,6 +2587,7 @@
                (void) ieee80211_input_all(ic, m, rssi, 0);
        }
 
+       m_free(m);
        splx(s);
 }
 



Home | Main Index | Thread Index | Old Index