Fix ~33MB leaked RAM on core unload.
Merge pull request #17 from Alcaro/master

Fix ~33MB leaked RAM on core unload.