summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/drone.c1
1 files changed, 1 insertions, 0 deletions
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);
}