Fix memory leak

This commit is contained in:
Carlos Garcés 2021-01-11 10:42:21 +01:00 committed by GitHub
parent 2686ea840c
commit 689bc8c1d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4795,8 +4795,8 @@ int rtw_dev_nlo_info_set(struct pno_nlo_info *nlo_info, pno_ssid_t *ssid,
}
#ifdef set_fs
set_fs(fs);
filp_close(fp, NULL);
#endif
filp_close(fp, NULL);
RTW_INFO("-%s-\n", __func__);
return 0;
}