mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
fix: replace pthread_exit in gssapi tests
Signed-off-by: Gauravsingh Sisodia <xaerru@gmail.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Jakub Jelen
parent
d0e5cf78d0
commit
6d81ecddbe
@@ -137,11 +137,5 @@ int torture_run_tests(void)
|
||||
rc = cmocka_run_group_tests(tests, sshd_setup, sshd_teardown);
|
||||
ssh_finalize();
|
||||
|
||||
/* pthread_exit() won't return anything so error should be returned prior */
|
||||
if (rc != 0) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
/* Required for freeing memory allocated by GSSAPI */
|
||||
pthread_exit(NULL);
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user