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/04931493e77f
branches:  trunk
changeset: 1025296:04931493e77f
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 a7ba4f1e8508 -r 04931493e77f 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
@@ -2595,7 +2595,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