Use delete[] for deallocating array.

git-svn-id: http://voip.null.ro/svn/yate@5409 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
oana 2013-02-15 08:24:03 +00:00
parent 4632f04b63
commit f7f69d055b
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ void ObjVector::clear()
for (unsigned int i = 0; i < len; i++)
TelEngine::destruct(objs[i]);
}
delete objs;
delete[] objs;
}
/* vi: set ts=8 sw=4 sts=4 noet: */