MTP: Fix wrong delete operator from previous change.
Change-Id: I64e8fdc610495f21060727b6bed42d1584833405
Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/media/mtp/MtpServer.cpp b/media/mtp/MtpServer.cpp
index 6d2eec3..30abfb8 100644
--- a/media/mtp/MtpServer.cpp
+++ b/media/mtp/MtpServer.cpp
@@ -412,7 +412,7 @@
MtpObjectFormat format = mRequest.getParameter(1);
MtpDevicePropertyList* properties = mDatabase->getSupportedObjectProperties(format);
mData.putAUInt16(properties);
- delete[] properties;
+ delete properties;
return MTP_RESPONSE_OK;
}