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/4081cd2647a4
branches:  trunk
changeset: 941299:4081cd2647a4
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 f18f0e2162fd -r 4081cd2647a4 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