From 45c928adc886719f643f2c9cb40f6a3fa52e76d2 Mon Sep 17 00:00:00 2001 From: DanielPointon <30954660+DanielPointon@users.noreply.github.com> Date: Thu, 4 Apr 2024 15:55:33 +0100 Subject: [PATCH] Add some extra freeing logic Free the uint16_t arrays --- src/homos.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/homos.c b/src/homos.c index 8f2dc7df0..f38d746db 100644 --- a/src/homos.c +++ b/src/homos.c @@ -293,6 +293,12 @@ static void free_homos_data(void) { free_graph(GRAPH2); free_bit_array(IMAGE_RESTRICT); free_bit_array(ORB_LOOKUP); + free(MAP); + free(COLORS2); + free(INVERSE_ORDER); + free(MAP_BUFFER); + free(ORB); + free(ORDER); for (uint16_t i = 0; i < HOMOS_STRUCTURE_SIZE * 3; i++) { bliss_digraphs_release(BLISS_GRAPH[i]);