diff options
author | XANTRONIX Development | 2022-03-11 20:07:21 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-03-11 20:07:21 -0500 |
commit | 5f54f5f23964fdcb494627c1aa866c74eb9a03c4 (patch) | |
tree | ed9d23a751d69dae96deafdcf8a059004bd5b24c | |
parent | 2e67d94e4f62f620c5157a848396ab69b2f56e51 (diff) | |
download | xas-5f54f5f23964fdcb494627c1aa866c74eb9a03c4.tar.gz xas-5f54f5f23964fdcb494627c1aa866c74eb9a03c4.tar.bz2 xas-5f54f5f23964fdcb494627c1aa866c74eb9a03c4.zip |
Fix memory leak in xas_drone_chamber_destroy()
-rw-r--r-- | src/drone.c | 1 |
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); } |