[ifconfig] fix a memory leak.
Submitted by: Tom Rix <trix@juniper.net> Differential Revision: https://reviews.freebsd.org/D9654
This commit is contained in:
parent
617f8b101e
commit
468c50de15
@ -1143,6 +1143,7 @@ set80211chanlist(const char *val, int d, int s, const struct afswtch *rafp)
|
||||
cp = tp;
|
||||
}
|
||||
set80211(s, IEEE80211_IOC_CHANLIST, 0, sizeof(chanlist), &chanlist);
|
||||
free(temp);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user