Fixed a delete / delete[] mismatch spotted using valgrind.

Should be just a cosmetic change on all known platforms.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3707 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2010-10-11 14:04:36 +00:00
parent 644065b54f
commit 06b326577d
2 changed files with 2 additions and 2 deletions

View File

@ -1544,7 +1544,7 @@ bool WpSpan::createCircuits(unsigned int delta, const String& cicList)
ok = false;
break;
}
delete cicCodes;
delete[] cicCodes;
return ok;
}

View File

@ -1138,7 +1138,7 @@ bool WpSpan::createCircuits(unsigned int delta, const String& cicList)
ok = false;
break;
}
delete cicCodes;
delete[] cicCodes;
return ok;
}