On Tue, Mar 29, 2022 at 07:06:06PM +0800, Haowen Bai wrote: > @@ -534,9 +531,6 @@ u8 rtw_init_drv_sw(struct adapter *padapter) > free_mlme_ext: > free_mlme_ext_priv(&padapter->mlmeextpriv); > > -free_mlme_priv: > - rtw_free_mlme_priv(&padapter->mlmepriv); No, we still need to free this on error. regards, dan carpenter