зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1167249: Use delete[] instead of delete to deallocate some arrays in mochitest ssltunnel.cpp. r=ted
This commit is contained in:
Родитель
1596e3c937
Коммит
5f73d74062
|
@ -1318,8 +1318,8 @@ int processConfigLine(char* configLine)
|
|||
PLHashEntry* entry = PL_HashTableAdd(existingServer->host_redir_table, hostname_copy, redir_copy);
|
||||
if (!entry) {
|
||||
LOG_ERROR(("Out of memory"));
|
||||
delete hostname_copy;
|
||||
delete redir_copy;
|
||||
delete[] hostname_copy;
|
||||
delete[] redir_copy;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче