From 679907d1b2023396b5f353b3390ca0879fc15e50 Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Wed, 11 Feb 2026 20:02:04 +0100 Subject: Free some memory before it leaks --- inc/cad/construction.h | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/cad/construction.h') diff --git a/inc/cad/construction.h b/inc/cad/construction.h index e4b0428..ef36421 100644 --- a/inc/cad/construction.h +++ b/inc/cad/construction.h @@ -79,6 +79,7 @@ struct drawing { struct element* insert_cmd(struct drawing *drawing, struct command cmd); void place_points(struct drawing *drawing, double inputs[]); +void free_drawing(struct drawing *drawing); bool circle_line_intersect(struct circle circle, struct line line, uint8_t root, struct point *point); void line_through_points(struct point p1, struct point p2, struct line* l); -- cgit v1.2.3