Author: avos
Date: Sun Dec  9 05:35:22 2018
New Revision: 341753
URL: https://svnweb.freebsd.org/changeset/base/341753

Log:
  MFC r316939:
  [lib80211] fix a missing cleanup path.
  
  PR:           lib/218655
  Reported by:  <valentin.ver...@stormshield.eu>

Modified:
  stable/11/lib/lib80211/lib80211_regdomain.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/lib80211/lib80211_regdomain.c
==============================================================================
--- stable/11/lib/lib80211/lib80211_regdomain.c Sun Dec  9 04:54:55 2018        
(r341752)
+++ stable/11/lib/lib80211/lib80211_regdomain.c Sun Dec  9 05:35:22 2018        
(r341753)
@@ -539,6 +539,7 @@ cleanup_bands(netband_head *head)
                nb = LIST_FIRST(head);
                if (nb == NULL)
                        break;
+               LIST_REMOVE(nb, next);
                free(nb);
        }
 }
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to