From: Ben Pfaff Date: Fri, 1 Jan 2021 18:54:33 +0000 (-0800) Subject: pivot-table: Fix memory leak in pivot_table_destroy() X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=726e15b3d4f61ac4f5a7308c4c096d96d41473c8;p=pspp pivot-table: Fix memory leak in pivot_table_destroy() --- diff --git a/src/output/pivot-table.c b/src/output/pivot-table.c index a01bae388d..3fd3366908 100644 --- a/src/output/pivot-table.c +++ b/src/output/pivot-table.c @@ -905,6 +905,7 @@ pivot_table_unref (struct pivot_table *table) pivot_value_destroy (table->subtype); pivot_value_destroy (table->corner_text); pivot_value_destroy (table->caption); + free (table->notes); for (size_t i = 0; i < table->n_dimensions; i++) pivot_dimension_destroy (table->dimensions[i]);