summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'media/mtp/MtpServer.cpp')
-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;
}