swrap: fix copy on write leak of ~38M for every fork.