diff --git a/examples/table-sort.cxx b/examples/table-sort.cxx index b508922e4f..5193f5b3e9 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