Probably a lot. My guess is something similar happens with commercial software. Some commercial software that everybody loves dies, and the community cries out for it to be open sourced. Meanwhile, everyone that ever worked on the codebase is thinking, "You want to see this source? Uhhhhhhh..."