nfs4: Fix CID 1108216: Non-array delete used on array

This commit is contained in:
Pawel Dziepak
2013-10-29 18:39:33 +01:00
parent 7ed6150478
commit 0324283823
@@ -206,7 +206,7 @@ RootInode::GetLocations(AttrValue** attrv)
if (result != B_OK) if (result != B_OK)
return result; return result;
if (count < 1) { if (count < 1) {
delete *attrv; delete[] *attrv;
return B_ERROR; return B_ERROR;
} }