Commit 9a4dffaf authored by Alan Chang's avatar Alan Chang

check null pointer

parent 382e8b4f
......@@ -143,7 +143,7 @@ void GtpTask::handleSessionRelease(int ueId, int psi)
m_rateLimiter->updateUeDownlinkLimit(ueId, 0);
if (!m_pduSessions[sessionInd]->downTunnel) {
if (m_pduSessions[sessionInd] == nullptr ) {
m_logger->err("PDU session resource could not be released, PSI downlink tunnel [%d] not found", psi);
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment