From 571ff10553a852a30753031e31c65af7b8ebbb7b Mon Sep 17 00:00:00 2001 From: fire-eggs Date: Wed, 23 Jun 2021 10:49:38 -0400 Subject: [PATCH] Fix "failure to call pclose" (#240) --- examples/table-sort.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/table-sort.cxx b/examples/table-sort.cxx index b508922e4..5193f5b3e 100644 --- a/examples/table-sort.cxx +++ b/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