From c33b6be2bb4eacf88259eca4978be60c7b99583a Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Thu, 13 Feb 2025 08:35:06 +0000 Subject: [PATCH] CodeQL MemoryMayNotBeFreed.ql rtrChannel.c RtrChannelRoute() Unclear with all the flip operations if there is some kind of attachment (exchange of channels), the other 2 channels created in the function are also cleaned up. --- router/rtrChannel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/router/rtrChannel.c b/router/rtrChannel.c index f377eee9..adb1bb25 100644 --- a/router/rtrChannel.c +++ b/router/rtrChannel.c @@ -183,6 +183,7 @@ RtrChannelRoute(ch, pCount) GCRFlipXY(flipped, ch); GCRFreeChannel(flipped_again); + // GCRFreeChannel(copy); // FIXME evaluate if this should be uncommented } bottom: