|
|
commit 571ff10553a852a30753031e31c65af7b8ebbb7b
Author: fire-eggs <kbroutley@gmail.com>
AuthorDate: Wed Jun 23 10:49:38 2021 -0400
Commit: Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Sat Jun 26 14:46:39 2021 +0200
Fix "failure to call pclose" (#240)
examples/table-sort.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git examples/table-sort.cxx examples/table-sort.cxx
index b508922..5193f5b 100644
--- examples/table-sort.cxx
+++ examples/table-sort.cxx
@@ -239,6 +239,7 @@ void MyTable::load_command(const char *cmd) {
rows((int)rowdata_.size());
// Auto-calculate widths, with 20 pixel padding
autowidth(20);
+ pclose(fp);
}
// Callback whenever someone clicks on different parts of the table
[ Direct Link to Message ] | |
|
| |