PERFORCE change 137451 for review
Sam Leffler
sam at FreeBSD.org
Tue Mar 11 23:31:00 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=137451
Change 137451 by sam at sam_ebb on 2008/03/11 23:30:04
plug memory leak in ieee80211_ioctl_setregdomain
Submitted by: Miguel Vega
Affected files ...
.. //depot/projects/vap/sys/net80211/ieee80211_ioctl.c#42 edit
Differences ...
==== //depot/projects/vap/sys/net80211/ieee80211_ioctl.c#42 (text+ko) ====
@@ -2052,12 +2052,14 @@
}
IEEE80211_UNLOCK(ic);
- return ENETRESET;
-invalid:
- error = EINVAL;
+ error = ENETRESET;
+ /* fall thru... */
bad:
FREE(reg, M_TEMP);
return error;
+invalid:
+ error = EINVAL;
+ goto bad;
}
static int
More information about the p4-projects
mailing list