Prevent double free in DigitalGlitchFilter

Change-Id: Icf9660762c78054895bf8e86a6dfae0615288de6
This commit is contained in:
Dustin Spicuzza
2015-12-28 21:11:29 -05:00
parent 17b363f3b4
commit 4881795a92

View File

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