delete -> delete[]. CID 141
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27523 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ec10ce591d
commit
437ecc65ae
@ -43,7 +43,7 @@ SimpleMailProtocol::Init()
|
||||
password = passwd;
|
||||
|
||||
error = Login(settings->FindString("username"), password, settings->FindInt32("auth_method"));
|
||||
delete passwd;
|
||||
delete[] passwd;
|
||||
|
||||
if (error < B_OK) {
|
||||
runner->Stop();
|
||||
|
Loading…
x
Reference in New Issue
Block a user