Closed m-peko closed 5 years ago
While in theory this is an issue, in practice it isn't. The only way for this to have a leak is if emplace_back
throws and the only way it would throw in this scenario is if you ran out of memory and at that point, you have worse issues. Anyway, I'll merge it but I don't think you'd ever hit this condition in practice.
Fix for issue #339