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)
Change History (3)
by , 11 years ago
Attachment: | 0013-Use-delete-instead-of-delete.patch added |
---|
comment:1 by , 11 years ago
patch: | 0 → 1 |
---|
Note:
See TracTickets
for help on using tickets.
Patch