diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2003-04-18 05:04:16 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2003-04-18 05:04:16 +0000 |
| commit | a0240e2cb0b1ef8e5b61930ac2b850c884daaba8 (patch) | |
| tree | 46bc1e113ddc7c1ed88e4fa724039df8664c963a /lib/libpthread/thread/thr_clean.c | |
| parent | b025fc9a31c85b9cde9969e1fea55ea4caf650d5 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_clean.c')
| -rw-r--r-- | lib/libpthread/thread/thr_clean.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_clean.c b/lib/libpthread/thread/thr_clean.c index 8ae6b42add54..a8cedb43962f 100644 --- a/lib/libpthread/thread/thr_clean.c +++ b/lib/libpthread/thread/thr_clean.c @@ -46,7 +46,8 @@ _pthread_cleanup_push(void (*routine) (void *), void *routine_arg) struct pthread *curthread = _get_curthread(); struct pthread_cleanup *new; - if ((new = (struct pthread_cleanup *) malloc(sizeof(struct pthread_cleanup))) != NULL) { + if ((new = (struct pthread_cleanup *) + malloc(sizeof(struct pthread_cleanup))) != NULL) { new->routine = routine; new->routine_arg = routine_arg; new->next = curthread->cleanup; @@ -69,4 +70,3 @@ _pthread_cleanup_pop(int execute) free(old); } } - |
