diff options
Diffstat (limited to 'threadproc')
-rw-r--r-- | threadproc/beos/thread.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/threadproc/beos/thread.c b/threadproc/beos/thread.c index 1dc7210f2..d141d835e 100644 --- a/threadproc/beos/thread.c +++ b/threadproc/beos/thread.c @@ -58,8 +58,6 @@ apr_status_t apr_create_threadattr(apr_threadattr_t **new, apr_pool_t *cont) { (*new) = (apr_threadattr_t *)apr_palloc(cont, sizeof(apr_threadattr_t)); - (*new)->attr = (int32)apr_palloc(cont, - sizeof(int32)); if ((*new) == NULL) { return APR_ENOMEM; @@ -101,11 +99,6 @@ apr_status_t apr_create_thread(apr_thread_t **new, apr_threadattr_t *attr, return APR_ENOMEM; } - (*new)->td = (thread_id) apr_palloc(cont, sizeof(thread_id)); - if ((*new)->td == (thread_id)NULL) { - return APR_ENOMEM; - } - (*new)->cntxt = cont; /* First we create the new thread...*/ |