svn commit: r341753 - stable/11/lib/lib80211

Andriy Voskoboinyk avos at FreeBSD.org
Sun Dec 9 05:35:23 UTC 2018


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.vergez at 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);
 	}
 }


More information about the svn-src-stable mailing list