Opened 11 years ago

Closed 11 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

Description

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 11 years ago.
Patch

Download all attachments as: .zip

Change History (3)

comment:1 by mt, 11 years ago

patch: 01

comment:2 by mmadia, 11 years ago

Resolution: fixed
Status: newclosed

Thanks! Applied in hrev46350.

Note: See TracTickets for help on using tickets.