X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_create.c;h=d84e50a96deaaf19e1a79fea198422e49535cde4;hb=2230218c283af7fbff08167685f17dad8d748f14;hp=87bf8166ff85242ad890e0832cdc07c3399b7972;hpb=afc35d5efde48b82a7786d9c89b115965da6b637;p=musl diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c index 87bf8166..d84e50a9 100644 --- a/src/thread/pthread_create.c +++ b/src/thread/pthread_create.c @@ -55,7 +55,6 @@ void __do_cleanup_push(struct __ptcb *cb, void (*f)(void *), void *x) void __do_cleanup_pop(struct __ptcb *cb, int run) { __pthread_self()->cancelbuf = cb->__next; - if (run) cb->__f(cb->__x); } static int start(void *p)