summaryrefslogtreecommitdiff
path: root/rsvg-shapes.c
diff options
context:
space:
mode:
authorDom Lachowicz <doml@src.gnome.org>2003-03-30 05:38:20 +0000
committerDom Lachowicz <doml@src.gnome.org>2003-03-30 05:38:20 +0000
commit66141f5f99011b9ed495f050e929e396bafa89fd (patch)
tree0bb9a43862a559e1a5322fda22665981e65bfca4 /rsvg-shapes.c
parentdc71895aeffd9795b79bd62ac5a8e8783cbc56ef (diff)
downloadlibrsvg-66141f5f99011b9ed495f050e929e396bafa89fd.tar.gz
some minor CPU and RAM optimizations
Diffstat (limited to 'rsvg-shapes.c')
-rw-r--r--rsvg-shapes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsvg-shapes.c b/rsvg-shapes.c
index 1543b25d..237f3493 100644
--- a/rsvg-shapes.c
+++ b/rsvg-shapes.c
@@ -402,9 +402,9 @@ rsvg_start_any_poly(RsvgHandle *ctx, const xmlChar **atts, gboolean is_polyline)
if (!is_polyline)
g_string_append (d, "Z");
+ g_strfreev(pointlist);
rsvg_handle_path (ctx, d->str, id);
g_string_free (d, TRUE);
- g_strfreev(pointlist);
}
}