Skip to content

Commit

Permalink
Add some extra freeing logic
Browse files Browse the repository at this point in the history
Free the uint16_t arrays
  • Loading branch information
DanielPointon authored Apr 4, 2024
1 parent 7e6c774 commit 45c928a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/homos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 45c928a

Please sign in to comment.