[ox] Replace delete invocations with safeDelete
This commit is contained in:
@@ -95,7 +95,7 @@ FileAddress &FileAddress::operator=(FileAddress &&other) noexcept {
|
||||
|
||||
void FileAddress::cleanup() noexcept {
|
||||
if (m_type == FileAddressType::Path) {
|
||||
delete[] m_data.path;
|
||||
safeDeleteArray(m_data.path);
|
||||
clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user