From 35793731ad6fe606f0f0b1fb5753a4e7ffcee921 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 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