Skip to content

Commit

Permalink
added check for argument validity in flock_client_finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Jul 4, 2024
1 parent bce78c8 commit ac4a2aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ flock_return_t flock_client_init(margo_instance_id mid, ABT_pool pool, flock_cli

flock_return_t flock_client_finalize(flock_client_t client)
{
if(!client) return FLOCK_ERR_INVALID_ARGS;
if(client->num_group_handles != 0) {
margo_warning(client->mid,
"%ld group handles not released when flock_client_finalize was called",
Expand Down

0 comments on commit ac4a2aa

Please sign in to comment.