Fix exit op.

nwc10++ for reporting issue, found thanks to valgrind++.