projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55d9bfc
)
pivot-table: Fix memory leak in pivot_table_destroy()
author
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 1 Jan 2021 18:54:33 +0000
(10:54 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 1 Jan 2021 19:13:58 +0000
(11:13 -0800)
src/output/pivot-table.c
patch
|
blob
|
history
diff --git
a/src/output/pivot-table.c
b/src/output/pivot-table.c
index a01bae388d63affce42a4f89830e677150550f67..3fd336690820c8409c4b6b653cc88081e2d54b5d 100644
(file)
--- 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]);