From b8bce67515a9cc0ba00e14ebfbec94a822acacd4 Mon Sep 17 00:00:00 2001 From: ming-hsien Date: Wed, 18 Sep 2024 08:13:40 +0000 Subject: [PATCH] fix: segfault when removing gNB and UPF --- internal/sbi/processor/association.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/sbi/processor/association.go b/internal/sbi/processor/association.go index 9b60b233..10c2bf5f 100644 --- a/internal/sbi/processor/association.go +++ b/internal/sbi/processor/association.go @@ -255,6 +255,7 @@ func (p *Processor) requestAMFToReleasePDUResources( N1N2MessageTransfer(ctx, smContext.Supi, n1n2Request, smContext.CommunicationClientApiPrefix) if err != nil { logger.ConsumerLog.Warnf("N1N2MessageTransfer for RequestAMFToReleasePDUResources failed: %+v", err) + return false, true } switch *statusCode {