That's true, but a charity doesn't (usually) actually use the stock - they would sell it to spend it when they needed the money, and I think (perhaps I'm not correct here since I don't have data) they generally sell equities instantly post-donation, with the main purpose of donating stock instead of cash being for personal tax purposes.