|
|
@@ -243,8 +243,7 @@ unsigned int CCustMngrAuthFSM::s3_on_event(FSMEvent* pEvt)
|
|
|
{
|
|
|
m_bCancelAuthorize = true;
|
|
|
m_pFingerPrint->GetFunction()->CloseSession();
|
|
|
- //m_pFingerPrint->SafeDelete();
|
|
|
- //m_pFingerPrint = NULL;
|
|
|
+ m_pFingerPrint = NULL;
|
|
|
}
|
|
|
|
|
|
m_authCtx.eAuthByWhich = AuthByNone;
|
|
|
@@ -385,8 +384,7 @@ ErrorCodeEnum CCustMngrAuthFSM::SwitchUSB(bool bOpen)
|
|
|
|
|
|
m_pDeviceControl->GetFunction()->CloseSession();
|
|
|
}
|
|
|
- //m_pDeviceControl->SafeDelete();
|
|
|
- //m_pDeviceControl = NULL;
|
|
|
+ m_pDeviceControl = NULL;
|
|
|
return errCode;
|
|
|
}
|
|
|
else {
|