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/e6c6892d9bb8
branches:  trunk
changeset: 990784:e6c6892d9bb8
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 30a031803372 -r e6c6892d9bb8 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