summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fracture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fracture.c b/src/fracture.c
index 34470a0..e11d352 100644
--- a/src/fracture.c
+++ b/src/fracture.c
@@ -333,6 +333,7 @@ int main(int argc, char *argv[]) {
if (!broken && under_thres && zero_field) would_break++;
}
damage[net->num_broken + would_break]++;
+ free(tmp_current);
}
if (save_energy) {