Merge "MTP: Fix wrong delete operator from previous change."
This commit is contained in:
committed by
Android (Google) Code Review
commit
e75504d2c7
@@ -412,7 +412,7 @@ MtpResponseCode MtpServer::doGetObjectPropsSupported() {
|
||||
MtpObjectFormat format = mRequest.getParameter(1);
|
||||
MtpDevicePropertyList* properties = mDatabase->getSupportedObjectProperties(format);
|
||||
mData.putAUInt16(properties);
|
||||
delete[] properties;
|
||||
delete properties;
|
||||
return MTP_RESPONSE_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user