Changeset [b020bea0056a697a9bc131227d3321838551613e] by Thell Fowler

February 4th, 2010 @ 03:57 PM

ScintillaEditView.cpp: fix createHotSpotFromStyle mem leak

  • When a document view is activated that has a hotspot style enabled a memory leak for the generic_name was caused because of the new TCHAR pointer. This change deletes it after setting the fontname for the outHotSpot.
  • Also corrects the nativeLangEncodingCopy value which was a constant -1 instead of keeping a static value of the nativeLangEncoding.

[#37]

Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/b020bea0056a...

Committed by Thell Fowler

  • M PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Notepad++ Community Release

Shared Ticket Bins