#1487 Memory Leak of Font Names

Bug
closed-fixed
scintilla (249)
5
2015-01-05
2013-06-12
Simon Smith
No

Between Scintilla 3.31 and 3.32, a memory leak was introduced in the method FontNames::Clear. The font name string buffers are never freed and are therefore leaked. The following lines of code need to be inserted at the beginning of the method:

for ( unsigned i = 0; i < names.size(); ++i )
    delete [] names[i];

Discussion

  • Neil Hodgson

    Neil Hodgson - 2013-06-18
    • labels: --> scintilla
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson

    Neil Hodgson - 2013-07-21
    • status: open-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks