Skip to content

Commit

Permalink
Release ressources in 'c_api/gpr_implicit' testcase
Browse files Browse the repository at this point in the history
Before this commit, the 'c_api/gpr_implicit' testcase wasn't releasing
allocated ressouces correctly.
  • Loading branch information
HugoGGuerrier committed Mar 14, 2024
1 parent ee9c450 commit 6039d38
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testsuite/tests/c_api/gpr_implicit/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ main (void)
}

// Release the resources
ada_gpr_project_free (gpr);
abort_on_exception ();
ada_free_string_array (errors);
abort_on_exception ();
ada_free_string_array (files);
abort_on_exception ();

Expand Down

0 comments on commit 6039d38

Please sign in to comment.