Replaced some not-freed pointers with unique_ptrs.
Replaced some not-freed pointers with unique_ptrs.

Orpheon/Coverguard,Orpheon/Surveillance,Orpheon/Coverguard,Orpheon/Vanguard,Orpheon/Coverguard,Orpheon/Vanguard,Orpheon/Surveillance,Orpheon/Vanguard,Orpheon/Surveillance