svn commit: r313978 - head/sbin/ifconfig
Adrian Chadd
adrian at FreeBSD.org
Mon Feb 20 03:10:57 UTC 2017
Author: adrian
Date: Mon Feb 20 03:10:56 2017
New Revision: 313978
URL: https://svnweb.freebsd.org/changeset/base/313978
Log:
[ifconfig] fix a memory leak.
Submitted by: Tom Rix <trix at juniper.net>
Differential Revision: https://reviews.freebsd.org/D9654
Modified:
head/sbin/ifconfig/ifieee80211.c
Modified: head/sbin/ifconfig/ifieee80211.c
==============================================================================
--- head/sbin/ifconfig/ifieee80211.c Mon Feb 20 02:08:08 2017 (r313977)
+++ head/sbin/ifconfig/ifieee80211.c Mon Feb 20 03:10:56 2017 (r313978)
@@ -1143,6 +1143,7 @@ set80211chanlist(const char *val, int d,
cp = tp;
}
set80211(s, IEEE80211_IOC_CHANLIST, 0, sizeof(chanlist), &chanlist);
+ free(temp);
}
static void
More information about the svn-src-all
mailing list