From 5f54f5f23964fdcb494627c1aa866c74eb9a03c4 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Fri, 11 Mar 2022 20:07:21 -0500 Subject: Fix memory leak in xas_drone_chamber_destroy() --- src/drone.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drone.c b/src/drone.c index e4ef603..2655758 100644 --- a/src/drone.c +++ b/src/drone.c @@ -171,6 +171,7 @@ error_malloc_chamber: } void xas_drone_chamber_destroy(xas_drone_chamber *chamber) { + free(chamber->drones); free(chamber); } -- cgit v1.2.3