CodexBloom - AI-Powered Q&A Platform

std::unique_ptr not releasing resources after exception in custom deleter

👀 Views: 2 💬 Answers: 1 📅 Created: 2025-06-05
c++ memory-management exceptions

I'm facing an issue with `std::unique_ptr` that uses a custom deleter. The problem arises when an exception is thrown during construction of the object being ma...