Skip to content

Commit

Permalink
[mod] debug / memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
NaokiHori committed Jul 24, 2024
1 parent 6411e66 commit 645eea2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ib/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ int ib_init(
ps[n].vz = vzs[n];
}
memory_free(rs);
memory_free(ds);
memory_free(xs);
memory_free(ys);
#if NDIMS == 3
Expand Down
1 change: 1 addition & 0 deletions src/ib/save.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ int ib_save(
return 1;
}
memory_free(rs);
memory_free(ds);
memory_free(xs);
memory_free(ys);
#if NDIMS == 3
Expand Down

0 comments on commit 645eea2

Please sign in to comment.