Opened 11 years ago

Closed 11 years ago

#10374 closed bug (fixed)

[add-ons/index_server/fulltext] CLuceneDataBase.cpp: Mismatching allocation and deallocation

Reported by: mt Owned by: nobody
Priority: normal Milestone: R1
Component: Add-Ons Version: R1/Development
Keywords: index_server Cc:
Blocked By: Blocking:
Platform: All

Description

In CLuceneWriteDataBase::_RemoveDocuments() and CLuceneWriteDataBase::_IndexDocument(), variable wPath is allocated by new[] (via to_wchar()), but deallocated by delete.

Attachments (1)

0003-Fix-mismatching-allocation-and-deallocation.patch (966 bytes ) - added by mt 11 years ago.
Patch

Download all attachments as: .zip

Change History (3)

comment:1 by mt, 11 years ago

patch: 01

comment:2 by stpere, 11 years ago

Resolution: fixed
Status: newclosed

Applied in hrev46995, thanks!

Note: See TracTickets for help on using tickets.