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 Fix double free.



details:   https://anonhg.NetBSD.org/src-all/rev/0774670f0c51
branches:  trunk
changeset: 939887:0774670f0c51
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Wed Jul 01 12:27:58 2020 +1000

description:
Fix double free.

diffstat:

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

diffs (11 lines):

diff -r f097d6da2aa7 -r 0774670f0c51 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Wed Jul 01 12:26:58 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Wed Jul 01 12:27:58 2020 +1000
@@ -2522,7 +2522,6 @@
                /* No node found ... process differently. */
        }
 
-       m_free(m);
                (void) ieee80211_input_all(ic, m, rssi + 116, 0);
        splx(s);
 }



Home | Main Index | Thread Index | Old Index