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/solve.h | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/cad/solve.h') diff --git a/inc/cad/solve.h b/inc/cad/solve.h index d1afce5..a470aae 100644 --- a/inc/cad/solve.h +++ b/inc/cad/solve.h @@ -103,6 +103,7 @@ struct constraint { void alias_point(struct constraints *c, struct component *alias, struct component *target); void add_constraint(struct constraints *c, struct constraint *new); +void free_constraints(struct constraints *c); bool solve_constraints(struct constraints *constraints, struct drawing *drawing); #define DEG(x) ((x) * M_PI / 180.0) -- cgit v1.2.3