Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 20:10:18 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316939 - head/lib/lib80211
Message-ID:  <201704142010.v3EKAINl013842@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Fri Apr 14 20:10:18 2017
New Revision: 316939
URL: https://svnweb.freebsd.org/changeset/base/316939

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

Modified:
  head/lib/lib80211/lib80211_regdomain.c

Modified: head/lib/lib80211/lib80211_regdomain.c
==============================================================================
--- head/lib/lib80211/lib80211_regdomain.c	Fri Apr 14 19:41:48 2017	(r316938)
+++ head/lib/lib80211/lib80211_regdomain.c	Fri Apr 14 20:10:18 2017	(r316939)
@@ -569,6 +569,7 @@ cleanup_bands(netband_head *head)
 		nb = LIST_FIRST(head);
 		if (nb == NULL)
 			break;
+		LIST_REMOVE(nb, next);
 		free(nb);
 	}
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704142010.v3EKAINl013842>