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:
parent
b5d068b0ea
commit
c33b6be2bb
|
|
@ -183,6 +183,7 @@ RtrChannelRoute(ch, pCount)
|
|||
|
||||
GCRFlipXY(flipped, ch);
|
||||
GCRFreeChannel(flipped_again);
|
||||
// GCRFreeChannel(copy); // FIXME evaluate if this should be uncommented
|
||||
}
|
||||
|
||||
bottom:
|
||||
|
|
|
|||
Loading…
Reference in New Issue