From d87e64b0c1f0ec46a5153e9a912cee9de11fbd6e Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Mon, 17 Jul 2017 22:38:20 +0100 Subject: [PATCH] Fixed memory leak. --- re2c/src/code/output.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re2c/src/code/output.cc b/re2c/src/code/output.cc index 75512a36..291fbfff 100644 --- a/re2c/src/code/output.cc +++ b/re2c/src/code/output.cc @@ -19,7 +19,7 @@ OutputFragment::OutputFragment (type_t t, uint32_t i) OutputFragment::~OutputFragment() { - if (type == TAGS) { + if (type == TAGS || type == TAGLISTS) { delete tags; } } -- 2.40.0