[haiku-bugs] [Haiku] #9868: [Locale kit] Collator.cpp: Memory allocated by malloc() should be deallocated by free(), not 'delete'

  • From: "mt" <trac@xxxxxxxxxxxx>
  • Date: Sat, 13 Jul 2013 11:53:25 -0000

#9868: [Locale kit] Collator.cpp: Memory allocated by malloc() should be
deallocated by free(), not 'delete'
-----------------------------+------------------------------
 Reporter:  mt               |        Owner:  pulkomandy
     Type:  bug              |       Status:  new
 Priority:  normal           |    Milestone:  R1
Component:  Kits/Locale Kit  |      Version:  R1/Development
 Keywords:                   |   Blocked By:
 Blocking:                   |  Has a Patch:  0
 Platform:  All              |
-----------------------------+------------------------------
 In BCollator::Archive(), variable "buffer" is allocated by malloc(), but
 deallocated by delete.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9868>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: