Merge "MTP: Fix wrong delete operator from previous change."

This commit is contained in:
Mike Lockwood
2010-08-10 12:13:23 -07:00
committed by Android (Google) Code Review

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