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.
This commit is contained in:
Darryl L. Miles 2025-02-13 08:35:06 +00:00 committed by Tim Edwards
parent b5d068b0ea
commit c33b6be2bb
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ RtrChannelRoute(ch, pCount)
GCRFlipXY(flipped, ch);
GCRFreeChannel(flipped_again);
// GCRFreeChannel(copy); // FIXME evaluate if this should be uncommented
}
bottom: