=== modified file 'src/fs/ufs/UFSSwapDir.cc' --- src/fs/ufs/UFSSwapDir.cc 2012-11-30 11:57:23 +0000 +++ src/fs/ufs/UFSSwapDir.cc 2012-12-21 10:48:07 +0000 @@ -341,15 +341,10 @@ file_close(swaplog_fd); swaplog_fd = -1; } - + safe_free(ioType); delete map; - - if (IO) - delete IO; - - IO = NULL; - - safe_free(ioType); + delete IO; + delete currentIOOptions; } void