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/9cf472770fc8
branches:  trunk
changeset: 370287:9cf472770fc8
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 80d70c1a5a51 -r 9cf472770fc8 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