Opened 11 years ago
Closed 11 years ago
#9878 closed bug (fixed)
[ICNSTranslator] ICNSLoader.cpp: Memory allocated by 'new[]' should be deallocated by 'delete[]'
Reported by: | mt | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Add-Ons/Translators | Version: | R1/Development |
Keywords: | ICNSTranslator | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
- In ICNSLoader::GetIcon(), variable "rowBuff" should be deallocated by 'delete[]'.
- In ICNSLoader::ICNSLoader(BPositionIO *stream), variable "icnsDataBuffer" should be deallocated by 'delete[]'
Please see attached report.
Attachments (4)
Change History (7)
by , 11 years ago
Attachment: | 0008-Use-delete-instead-of-delete.patch added |
---|
comment:1 by , 11 years ago
patch: | 0 → 1 |
---|
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch