1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-22 21:34:37 +00:00

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 #ifdef set_fs
set_fs(fs); set_fs(fs);
filp_close(fp, NULL);
#endif #endif
filp_close(fp, NULL);
RTW_INFO("-%s-\n", __func__); RTW_INFO("-%s-\n", __func__);
return 0; return 0;
} }