summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/shape.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/shape.c b/examples/shape.c
index db42adf3..5617d4c9 100644
--- a/examples/shape.c
+++ b/examples/shape.c
@@ -94,6 +94,7 @@ static void Polygon_drop(Shape* shape)
c_self(shape, Polygon);
puts("drop poly");
PVec_drop(&self->points);
+ Shape_drop(self);
}
static void Polygon_draw(const Shape* shape)