Fix leak in Linux.