X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fric_stub%2Fric_stub_sctp.c;h=6c76ecb606e9d8bd7a24ea492bb025c77aa0cc5c;hb=02385cfbd5aa8844077a5054ce1912f6e4ce6471;hp=e8737f4b17aaca3db878d3e8c8f79cce62c646e0;hpb=6a921a2e24077727de299706bf23ceec317f1c5c;p=o-du%2Fl2.git diff --git a/src/ric_stub/ric_stub_sctp.c b/src/ric_stub/ric_stub_sctp.c index e8737f4b1..6c76ecb60 100644 --- a/src/ric_stub/ric_stub_sctp.c +++ b/src/ric_stub/ric_stub_sctp.c @@ -323,6 +323,7 @@ uint8_t sctpNtfyHdlr(RicSctpAssocCb *assocCb, CmInetSctpNotification *ntfy) case CM_INET_SCTP_SHUTDOWN_EVENT : /* peer socket gracefully closed */ DU_LOG("\nINFO --> SCTP : Shutdown Event notification received\n"); assocCb->connUp = FALSE; + deleteE2NodeInfo(&ricCb.duInfo[0]); exit(0); break; case CM_INET_SCTP_ADAPTATION_INDICATION :