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/a4713c23ff03
branches:  trunk
changeset: 987970:a4713c23ff03
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 8528d7b4519a -r a4713c23ff03 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