summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-05-20 10:49:42 +0200
committerTyge Løvset <[email protected]>2022-05-20 10:49:42 +0200
commitd555ce38d5f56c835cc3cc0c5f3ffffa58aab621 (patch)
tree9417bdb686522af4f00b79b6e91796444598bd20 /examples
parent81df0f1c8c7f6053aa0708753426a8fa604fc8a3 (diff)
downloadSTC-modified-d555ce38d5f56c835cc3cc0c5f3ffffa58aab621.tar.gz
STC-modified-d555ce38d5f56c835cc3cc0c5f3ffffa58aab621.zip
Minor shape.c change.
Diffstat (limited to 'examples')
-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)