Memset has no chance of setting, and we're now unique_ptr managed, so all these try/catch blocks can just go away entirely.