mksquashfs: simplify pthread_cleanup_pop handling

If exiting via EXIT_MKSQUASHFS(), BAD_ERROR() or MEM_ERROR()
we do not need to explicitly execute the pthread_cleanup_pop
handler because these macros terminate the thread via
pthread_exit, which executes all pthread_cleanup handlers itself.
If we're not restoring, we simply exit the process, which is fine.

Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
1 file changed
tree: 60f474da6aef3361db9e7cd8a79d8bec46d10ac9
  1. kernel/
  2. kernel-2.4/
  3. squashfs-tools/
  4. README