mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
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:
committed by
Tim Edwards
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:
|
||||
|
||||
Reference in New Issue
Block a user