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/6bc9b8c39999
branches:  trunk
changeset: 950528:6bc9b8c39999
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 7417d3909051 -r 6bc9b8c39999 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
@@ -2514,6 +2514,7 @@
                (void) ieee80211_input_all(ic, m, rssi, 0);
        }
 
+       m_free(m);
        splx(s);
 }
 



Home | Main Index | Thread Index | Old Index