projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
text-item: Fix reference leak in text_item_to_table_item().
[pspp]
/
src
/
output
/
text-item.c
diff --git
a/src/output/text-item.c
b/src/output/text-item.c
index 49c9f225c06a21a6b95557ddf7ce7bc2a0caff96..371ee901e6260221bf19df7344a68bc70191e7bd 100644
(file)
--- a/
src/output/text-item.c
+++ b/
src/output/text-item.c
@@
-192,6
+192,8
@@
text_item_to_table_item (struct text_item *text_item)
pivot_value_set_font_style (content, &text_item->style);
pivot_table_put1 (table, 0, content);
+ text_item_unref (text_item);
+
return table_item_create (table);
}
\f