mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-27 02:40:40 +00:00
update core/transmission/trans_channel/common/src/trans_lane_pending_ctl.c.
Signed-off-by: 姚望 <yaopwang@huawei.com>
This commit is contained in:
parent
2f07ea24f8
commit
e56212cded
@ -1672,7 +1672,7 @@ int32_t TransAuthWithParaAddLaneReqToList(uint32_t laneReqId, const char *sessio
|
||||
return SOFTBUS_OK;
|
||||
ERR_EXIT:
|
||||
SoftBusFree(item->sessionName);
|
||||
item->sessionName = NULL;
|
||||
item->sessionName = NULL;
|
||||
SoftBusFree(item);
|
||||
return errCode;
|
||||
}
|
||||
@ -1697,7 +1697,7 @@ int32_t TransAuthWithParaDelLaneReqById(uint32_t laneReqId)
|
||||
ListDelete(&(laneItem->node));
|
||||
g_authWithParaAsyncReqLaneList->cnt--;
|
||||
SoftBusFree(laneItem->sessionName);
|
||||
laneItem->sessionName = NULL;
|
||||
laneItem->sessionName = NULL;
|
||||
SoftBusFree(laneItem);
|
||||
laneItem = NULL;
|
||||
(void)SoftBusMutexUnlock(&(g_authWithParaAsyncReqLaneList->lock));
|
||||
|
Loading…
Reference in New Issue
Block a user