projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d0dbcd
)
text-item: Fix reference leak in text_item_to_table_item().
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 10 Jan 2021 21:14:55 +0000
(13:14 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 10 Jan 2021 21:15:31 +0000
(13:15 -0800)
src/output/text-item.c
patch
|
blob
|
history
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