mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-15 02:16:08 +00:00
Merge pull request #810 from CGarces/fix_kernel_5.10_patch
Fix memory leak
This commit is contained in:
commit
64e7aaa565
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user