Commit d93c7487 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

Initialize apr_thread_t pointer to NULL so that apr_os_thread_put()

allocates a new one.  This resolves a crash seen on WinXP, caused
by r1103595.

Bad revision found by: Gregg L Smith <gls gknw.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142264 13f79535-47bb-0310-9956-ffa450edef68
parent 87076d1a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -728,7 +728,7 @@ static winnt_conn_ctx_t *winnt_get_connection(winnt_conn_ctx_t *context)
 */
static DWORD __stdcall worker_main(void *thread_num_val)
{
    apr_thread_t *thd;
    apr_thread_t *thd = NULL;
    apr_os_thread_t osthd;
    static int requests_this_child = 0;
    winnt_conn_ctx_t *context = NULL;