Changeset [75c84486894cb5be4746f65ededcc54f7344df8d] by Thell Fowler

February 8th, 2010 @ 03:20 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/75c84486894c...

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