summaryrefslogtreecommitdiff
path: root/rsvg-structure.c
diff options
context:
space:
mode:
Diffstat (limited to 'rsvg-structure.c')
-rw-r--r--rsvg-structure.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsvg-structure.c b/rsvg-structure.c
index 29451da7..1370dbc9 100644
--- a/rsvg-structure.c
+++ b/rsvg-structure.c
@@ -359,7 +359,7 @@ rsvg_node_svg_set_atts (RsvgNode * self, RsvgHandle * ctx, RsvgPropertyBag * att
* style element is not loaded yet here, so we need to store those attribues
* to be applied later.
*/
- svg->atts = rsvg_property_bag_ref(atts);
+ svg->atts = rsvg_property_bag_dup(atts);
}
}