Fix segfault when libvmi fails to init and error_exit tries to resume
Merge pull request #27 from tklengyel/example-fix

Fix segfault when libvmi fails to init and error_exit tries to resume