Fixed a number of memory leaks in game module

These were the obvious memory leaks which I could find. I was hoping that
this would fix #111 (VM_Create failed on game) but it doesn't look like it
has.