summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-04-24 11:08:35 +0800
committermdb:android-git <superproject-auto-update@invalid>2024-01-10 12:50:06 +0000
commit6c645b9319954543d2d91be3c66e83a9c681568d (patch)
treeae712c5d13dce7f04a635d41625bedc2478f6db0
parentd0d5a951663e6477a90450e03b47b45be1e5166e (diff)
downloadsuperproject-6c645b9319954543d2d91be3c66e83a9c681568d.tar.gz
BACKPORT: mac80211_hwsim: fix a possible memory leak in hwsim_new_radio_nl()
'hwname' should be freed before leaving from the error handling cases, otherwise it will cause mem leak Bug: 254441685 Fixes: cb1a5bae5684 ("mac80211_hwsim: add permanent mac address option for new radios") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> (cherry picked from commit e8f90c74e6ab64824f3a21521640de7b21050b9d) [Lee: Resolved simple conflict] Signed-off-by: Lee Jones <joneslee@google.com> Change-Id: Ia902a1b2e0adc73c7103e36ca8e3cd19e2bb768d
m---------common0
1 files changed, 0 insertions, 0 deletions
diff --git a/common b/common
-Subproject 410d26aefc550719c8e39c861a02e22c00bdcbd
+Subproject 5674a6d2551a2c740ea120c6164a929efb03c40