Fixed a delete / delete[] mismatch spotted using valgrind.
Should be just a cosmetic change on all known platforms. git-svn-id: http://voip.null.ro/svn/yate@3707 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
8fed2ca200
commit
189eaa263b
|
@ -1544,7 +1544,7 @@ bool WpSpan::createCircuits(unsigned int delta, const String& cicList)
|
||||||
ok = false;
|
ok = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
delete cicCodes;
|
delete[] cicCodes;
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1138,7 +1138,7 @@ bool WpSpan::createCircuits(unsigned int delta, const String& cicList)
|
||||||
ok = false;
|
ok = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
delete cicCodes;
|
delete[] cicCodes;
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue