mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Prevent double free in DigitalGlitchFilter
Change-Id: Icf9660762c78054895bf8e86a6dfae0615288de6
This commit is contained in:
@@ -45,6 +45,7 @@ public class DigitalGlitchFilter extends SensorBase {
|
||||
synchronized(m_mutex) {
|
||||
m_filterAllocated[m_channelIndex] = false;
|
||||
}
|
||||
m_channelIndex = -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user