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-22 21:35:23 -05:00
committed by Tim Edwards
parent b5d068b0ea
commit c33b6be2bb
+1
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: