nfs4: Fix CID 1108216: Non-array delete used on array
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user