libmid: Fix loads of memory leaks!
Merge branch 'master' of github.com:prozum/midiogre