summaryrefslogtreecommitdiff
path: root/examples/table-sort.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/table-sort.cxx')
-rw-r--r--examples/table-sort.cxx1
1 files changed, 1 insertions, 0 deletions
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