Skip to content

Commit

Permalink
fix memory leak in array-slice-ll.cpp (NanoComp#1865)
Browse files Browse the repository at this point in the history
* fix memory leak in array-slice-ll.cpp

* reinstate line break
  • Loading branch information
oskooi authored and Mo Chen committed Feb 16, 2022
1 parent e505d53 commit c48a4a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/array-slice-ll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,5 +248,9 @@ int main(int argc, char *argv[]) {

}; // if (write_files) ... else ...

for (int n = 0; n < no; n++) {
geometric_object_destroy(objects[n]);
}

return 0;
}

0 comments on commit c48a4a2

Please sign in to comment.