From e36d0b8817fcdb6b4ba2cd0f09e34791d652818c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 11 Oct 2001 22:14:25 +0000 Subject: Fixed memory leak. --- src/LexConf.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/LexConf.cxx b/src/LexConf.cxx index 2dbb65c37..c8441f41e 100644 --- a/src/LexConf.cxx +++ b/src/LexConf.cxx @@ -172,6 +172,7 @@ static void ColouriseConfDoc(unsigned int startPos, int length, int, WordList *k } } + delete []buffer; } LexerModule lmConf(SCLEX_CONF, ColouriseConfDoc, "conf"); -- cgit v1.2.3