patch some memory leaks
Merge branch 'master' of http://github.com/Patre/ggen