driver/main.c: use goto for clean up on errors
Merge pull request #207 from ret2libc/master

driver/main.c: use goto for clean up on errors