[2836] Don't leak memory on exception
If we throw an exception from the constructor, destructor is not called. Call the clean-up manually there, so we don't leak memory.
Please register or sign in to comment
If we throw an exception from the constructor, destructor is not called. Call the clean-up manually there, so we don't leak memory.