* initialize posix_thread and __pthread_cleanup ptrs to NULL * check ret is zero before finalizing a thread in pthread_cancel() Signed-off-by: Christopher Friedt <cfriedt@meta.com>