pivot-table: Fix memory leak in pivot_value_destroy().
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 21 Oct 2019 02:57:58 +0000 (02:57 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 30 Oct 2019 22:41:21 +0000 (22:41 +0000)
src/output/pivot-table.c

index 5c840276cbabc0d3cef9ef279b217fea0d3b588d..4908697df4f28f0b1ed280e2cc5d2903f18e5aa1 100644 (file)
@@ -1802,6 +1802,7 @@ pivot_value_destroy (struct pivot_value *value)
       /* Do not free the elements of footnotes because VALUE does not own
          them. */
       free (value->footnotes);
+      free (value->subscript);
 
       switch (value->type)
         {