The Lone C++ Coder's Blog from The Lone C++ Coder's Blog
Thud, thud, thud…
The sound of the developer’s head banging on the desk late at night.
What happened? Well, I had a requirement to make use of some smart pointers to handle a somewhat complicated resource management issue that was mostly being ignored in the current implementation, mainly on the grounds of it being slightly to complicated to handle successfully using manual pointer management. The result - not entirely unexpected - was a not so nice memory leak.