summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron <jaron@kent-dobias.com>2016-12-02 09:11:43 -0500
committerJaron <jaron@kent-dobias.com>2016-12-02 09:11:43 -0500
commit9266821bb7e2520a93a51e0991e9e71b69dcfe9a (patch)
tree3fba6a5469803843c1ac1653313ad88daac2d132 /src
parentf6d2fd9fd10cf95d9a5557881b067a7857f62f8e (diff)
downloadfuse_networks-9266821bb7e2520a93a51e0991e9e71b69dcfe9a.tar.gz
fuse_networks-9266821bb7e2520a93a51e0991e9e71b69dcfe9a.tar.bz2
fuse_networks-9266821bb7e2520a93a51e0991e9e71b69dcfe9a.zip
fixed memory leak
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) {