From a03220aba5e387314dd134b91ddc414b71ab9fa0 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sun, 8 Mar 2020 12:42:30 +0100 Subject: Fix a memory leak in fluid Also fixed two typos in comments. --- fluid/Fl_Function_Type.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'fluid/Fl_Function_Type.cxx') diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx index 594a526a9..030c6c454 100644 --- a/fluid/Fl_Function_Type.cxx +++ b/fluid/Fl_Function_Type.cxx @@ -1322,6 +1322,7 @@ void Fl_Comment_Type::write_code1() { *e++ = eol; b = e; } + free(txt); } void Fl_Comment_Type::write_code2() {} -- cgit v1.2.3