projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
559baea
)
src/ouput/output-item.c (output_item_unshare): Use result of output_item_ref
author
John Darrington
<john@darrington.wattle.id.au>
Sat, 1 May 2021 05:29:24 +0000
(07:29 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sat, 1 May 2021 05:29:24 +0000
(07:29 +0200)
src/output/output-item.c
patch
|
blob
|
history
diff --git
a/src/output/output-item.c
b/src/output/output-item.c
index 25cffe460090d9e05cb30a5610f737c64ba18054..043cb42db285bb7fd0e99027b43df2131587948d 100644
(file)
--- a/
src/output/output-item.c
+++ b/
src/output/output-item.c
@@
-164,7
+164,7
@@
output_item_unshare (struct output_item *old)
= old->group.n_children;
for (size_t i = 0; i < new->group.n_children; i++)
- output_item_ref (new->group.children[i]);
+
new->group.children[i] =
output_item_ref (new->group.children[i]);
break;
case OUTPUT_ITEM_IMAGE: