Opened 11 years ago
Closed 11 years ago
#9868 closed bug (fixed)
[Locale kit] Collator.cpp: Memory allocated by malloc() should be deallocated by free(), not 'delete'
Reported by: | mt | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Locale Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
In BCollator::Archive(), variable "buffer" is allocated by malloc(), but deallocated by delete.
Attachments (2)
Change History (4)
by , 11 years ago
Attachment: | 0004-BCollator-Archive-use-free-instead-of-delete.patch added |
---|
comment:1 by , 11 years ago
patch: | 0 → 1 |
---|
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fix applied in hrev45858 - thanks!
Note:
See TracTickets
for help on using tickets.
Patch