summaryrefslogtreecommitdiff
path: root/shape.c
diff options
context:
space:
mode:
Diffstat (limited to 'shape.c')
-rw-r--r--shape.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shape.c b/shape.c
index e264e7bee5..cf1a4426eb 100644
--- a/shape.c
+++ b/shape.c
@@ -145,6 +145,7 @@ get_next_shape_internal(rb_shape_t * shape, ID id, enum shape_type shape_type, b
new_shape->type = (uint8_t)shape_type;
new_shape->capacity = shape->capacity;
+ new_shape->edges = NULL;
switch (shape_type) {
case SHAPE_IVAR: