Opened 8 years ago

Closed 8 years ago

#9885 closed bug (fixed)

[Packageinstaller] PackageInfo.cpp: Memory allocated by 'new[]' should be deallocated by 'delete[]'

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


In PackageInfo::Parse(), variables "link", "mime", "compressed", "signature", "name", "disclaimer", "desc", "description", "version", "dev", "ti", "pathname" should be deallocated by delete[]. Some pointed by Clang Static Analyzer.

Attachments (1)

0013-Use-delete-instead-of-delete.patch (5.7 KB ) - added by mt 8 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by mt, 8 years ago

patch: 01

comment:2 by mmadia, 8 years ago

Resolution: fixed
Status: newclosed

Thanks! Applied in hrev46350.

Note: See TracTickets for help on using tickets.