Skip to content

Commit

Permalink
Try again with POSIX_ENSURE
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Boswell committed Aug 14, 2021
1 parent 5a20c4c commit 81c83df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/s2n_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int s2n_cleanup(void)
/* If this is the main thread and atexit cleanup is unavailable,
* perform final cleanup now */
if (pthread_self() == main_thread && !atexit_cleanup) {
POSIX_ENSURE(s2n_cleanup_atexit_impl());
POSIX_ENSURE(s2n_cleanup_atexit_impl(), S2N_ERR_ATEXIT);
}
return 0;
}
Expand Down

0 comments on commit 81c83df

Please sign in to comment.