Fixing a memory leak. (Make sure ~GXemul is called before exit().
Authored by: debug 2009-07-13
Parent: [r5488]
Child: [r5490]