Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#9867 closed bug (fixed)

[Packageinstaller] PackageItem.cpp: use delete[] instead of delete

Reported by: mt Owned by: sil2100
Priority: normal Milestone: R1
Component: Applications/PackageInstaller Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

In PackageItem::ParseAttribute(), use delete[] for deleting *attrData.

Attachments (2)

0003-PackageItem-ParseAttribute-use-delete-for-deleing-at.patch (860 bytes ) - added by mt 11 years ago.
Patch
report-9QlBqW.html (131.1 KB ) - added by mt 11 years ago.
Report by Clang Static Analyzer

Download all attachments as: .zip

Change History (5)

comment:1 by mt, 11 years ago

patch: 01

by mt, 11 years ago

Attachment: report-9QlBqW.html added

Report by Clang Static Analyzer

comment:2 by zooey, 11 years ago

Resolution: fixed
Status: newclosed

Fix applied in hrev45858 - thanks!

comment:3 by sil2100, 11 years ago

Thanks for the fix! It's been a while that the code was touched, so it's most likely that there are some outdated/broken parts. +1

Note: See TracTickets for help on using tickets.