We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b05dfb2 commit 1c88dadCopy full SHA for 1c88dad
sim.c
@@ -1,7 +1,6 @@
1
#include "sim.h"
2
3
#include "collision.h"
4
-#include "parse.h"
5
#include <assert.h>
6
#include <inttypes.h>
7
#include <math.h>
@@ -1948,6 +1947,7 @@ void destroy(struct solution *solution, struct board *board)
1948
1947
for (uint32_t i = 0; i < board->number_of_area_directions; ++i)
1949
free(board->area_directions[i].footprint_at_infinity.atoms_at_positions);
1950
free(board->area_directions);
+ free(board->molecule.atoms);
1951
memset(board, 0, sizeof(*board));
1952
}
1953
0 commit comments