diff options
author | Jaron <jaron@kent-dobias.com> | 2016-12-02 09:11:43 -0500 |
---|---|---|
committer | Jaron <jaron@kent-dobias.com> | 2016-12-02 09:11:43 -0500 |
commit | 9266821bb7e2520a93a51e0991e9e71b69dcfe9a (patch) | |
tree | 3fba6a5469803843c1ac1653313ad88daac2d132 | |
parent | f6d2fd9fd10cf95d9a5557881b067a7857f62f8e (diff) | |
download | fuse_networks-9266821bb7e2520a93a51e0991e9e71b69dcfe9a.tar.gz fuse_networks-9266821bb7e2520a93a51e0991e9e71b69dcfe9a.tar.bz2 fuse_networks-9266821bb7e2520a93a51e0991e9e71b69dcfe9a.zip |
fixed memory leak
-rw-r--r-- | src/fracture.c | 1 |
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) { |