[haiku-bugs] [Haiku] #10374: [add-ons/index_server/fulltext] CLuceneDataBase.cpp: Mismatching allocation and deallocation

  • From: "mt" <trac@xxxxxxxxxxxx>
  • Date: Sat, 04 Jan 2014 10:43:11 -0000

#10374: [add-ons/index_server/fulltext] CLuceneDataBase.cpp: Mismatching 
allocation
and deallocation
--------------------------+------------------------------
 Reporter:  mt            |        Owner:  nobody
     Type:  bug           |       Status:  new
 Priority:  normal        |    Milestone:  R1
Component:  Add-Ons       |      Version:  R1/Development
 Keywords:  index_server  |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 In CLuceneWriteDataBase::_RemoveDocuments() and
 CLuceneWriteDataBase::_IndexDocument(), variable wPath is allocated by
 new[] (via to_wchar()), but deallocated by delete.

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

Other related posts: