Use SAFE_DELETE in destructor of Commit