Opened 6 years ago

Closed 6 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:
Has a Patch: yes 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 6 years ago.
Patch

Download all attachments as: .zip

Change History (3)

comment:1 by mt, 6 years ago

Has a Patch: set

comment:2 by mmadia, 6 years ago

Resolution: fixed
Status: newclosed

Thanks! Applied in hrev46350.

Note: See TracTickets for help on using tickets.