MTP: Fix wrong delete operator from previous change.

Change-Id: I64e8fdc610495f21060727b6bed42d1584833405
Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
Mike Lockwood
2010-08-10 15:11:32 -04:00
parent 4b322ce4fb
commit 33ea5a4e86

View File

@@ -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;
}