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:
parent
644065b54f
commit
06b326577d
|
@ -1544,7 +1544,7 @@ bool WpSpan::createCircuits(unsigned int delta, const String& cicList)
|
|||
ok = false;
|
||||
break;
|
||||
}
|
||||
delete cicCodes;
|
||||
delete[] cicCodes;
|
||||
return ok;
|
||||
}
|
||||
|
||||
|
|
|
@ -1138,7 +1138,7 @@ bool WpSpan::createCircuits(unsigned int delta, const String& cicList)
|
|||
ok = false;
|
||||
break;
|
||||
}
|
||||
delete cicCodes;
|
||||
delete[] cicCodes;
|
||||
return ok;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue