Fixed memory leak
Work on #9
Merge branch 'master' of https://github.com/rFlex/FDWaveformView