Merge "Prevent double free in DigitalGlitchFilter"

This commit is contained in:
Brad Miller (WPI)
2015-12-28 18:33:36 -08:00
committed by Gerrit Code Review

View File

@@ -45,6 +45,7 @@ public class DigitalGlitchFilter extends SensorBase {
synchronized(m_mutex) {
m_filterAllocated[m_channelIndex] = false;
}
m_channelIndex = -1;
}
}