summaryrefslogtreecommitdiffstats
path: root/media/mtp
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-08-10 15:11:32 -0400
committerMike Lockwood <lockwood@android.com>2010-08-10 15:11:32 -0400
commit33ea5a4e860659ccde5f31cb0f1d87f35e0a0032 (patch)
tree616bf1fd2dd3f42b96d596110494eccea0209e73 /media/mtp
parent4b322ce4fb86b5a7a6e50633a3a9f498ca8d4706 (diff)
downloadframeworks_base-33ea5a4e860659ccde5f31cb0f1d87f35e0a0032.zip
frameworks_base-33ea5a4e860659ccde5f31cb0f1d87f35e0a0032.tar.gz
frameworks_base-33ea5a4e860659ccde5f31cb0f1d87f35e0a0032.tar.bz2
MTP: Fix wrong delete operator from previous change.
Change-Id: I64e8fdc610495f21060727b6bed42d1584833405 Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp')
-rw-r--r--media/mtp/MtpServer.cpp2
1 files changed, 1 insertions, 1 deletions
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 @@ MtpResponseCode MtpServer::doGetObjectPropsSupported() {
MtpObjectFormat format = mRequest.getParameter(1);
MtpDevicePropertyList* properties = mDatabase->getSupportedObjectProperties(format);
mData.putAUInt16(properties);
- delete[] properties;
+ delete properties;
return MTP_RESPONSE_OK;
}