nfs4: Fix CID 1108216: Non-array delete used on array
This commit is contained in:
parent
7ed6150478
commit
0324283823
@ -206,7 +206,7 @@ RootInode::GetLocations(AttrValue** attrv)
|
||||
if (result != B_OK)
|
||||
return result;
|
||||
if (count < 1) {
|
||||
delete *attrv;
|
||||
delete[] *attrv;
|
||||
return B_ERROR;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user