Pretty logic in free export

Modified: src/pointer-stack-io.c