inkscape/inkscape-polyutil-newpoly.patch

11 lines
228 B
Diff

--- src/libavoid/polyutil.cpp
+++ src/libavoid/polyutil.cpp
@@ -35,6 +35,7 @@
{
Polygn newpoly;
+ newpoly.id = 0;
newpoly.pn = size;
newpoly.ps = (Point *) calloc(size, sizeof(Point));
if (!newpoly.ps)