summaryrefslogtreecommitdiff
path: root/fluid/Fl_Function_Type.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2020-03-08 12:42:30 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2020-03-08 12:42:30 +0100
commita03220aba5e387314dd134b91ddc414b71ab9fa0 (patch)
treecaecc5ad590c7663770ae021be975c76a768554f /fluid/Fl_Function_Type.cxx
parent1ffcef23738871f23c9b264ebf05d1e9531e9294 (diff)
Fix a memory leak in fluid
Also fixed two typos in comments.
Diffstat (limited to 'fluid/Fl_Function_Type.cxx')
-rw-r--r--fluid/Fl_Function_Type.cxx1
1 files changed, 1 insertions, 0 deletions
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() {}