summaryrefslogtreecommitdiff
path: root/threadproc/beos/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'threadproc/beos/thread.c')
-rw-r--r--threadproc/beos/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/threadproc/beos/thread.c b/threadproc/beos/thread.c
index 435c2c8a9..f5752a81e 100644
--- a/threadproc/beos/thread.c
+++ b/threadproc/beos/thread.c
@@ -173,6 +173,7 @@ APR_DECLARE(apr_status_t) apr_thread_current_create(apr_thread_t **current,
stat = alloc_thread(current, attr, NULL, NULL, pool);
if (stat != APR_SUCCESS) {
+ *current = NULL;
return stat;
}