added free()
Merge branch 'master' of https://github.com/prozum/midiogre