Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2018 05:35:22 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r341753 - stable/11/lib/lib80211
Message-ID:  <201812090535.wB95ZMTd029904@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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);
 	}
 }



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