projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for reading and writing SPV files.
[pspp]
/
src
/
output
/
table-item.c
diff --git
a/src/output/table-item.c
b/src/output/table-item.c
index 6243f03109429b446e34e90d83960e7bd95dd968..a1595479bbf5bde005fc9734085b471e8f5c0cff 100644
(file)
--- a/
src/output/table-item.c
+++ b/
src/output/table-item.c
@@
-131,6
+131,7
@@
table_item_create (struct table *table, const char *title, const char *caption)
item->title = table_item_text_create (title);
item->layers = NULL;
item->caption = table_item_text_create (caption);
item->title = table_item_text_create (title);
item->layers = NULL;
item->caption = table_item_text_create (caption);
+ item->pt = NULL;
return item;
}
return item;
}
@@
-222,6
+223,7
@@
table_item_destroy (struct output_item *output_item)
table_item_text_destroy (item->title);
table_item_text_destroy (item->caption);
table_item_layers_destroy (item->layers);
table_item_text_destroy (item->title);
table_item_text_destroy (item->caption);
table_item_layers_destroy (item->layers);
+ pivot_table_unref (item->pt);
table_unref (item->table);
free (item);
}
table_unref (item->table);
free (item);
}