winhttp: Fix a memory leak (valgrind).

This commit is contained in:
Hans Leidekker 2015-04-21 11:21:45 +02:00 committed by Alexandre Julliard
parent d36f8d52cf
commit 1c5e704af6

View File

@ -566,6 +566,7 @@ static void request_destroy( object_header_t *hdr )
CloseHandle( request->task_thread );
CloseHandle( request->task_cancel );
CloseHandle( request->task_wait );
request->task_cs.DebugInfo->Spare[0] = 0;
DeleteCriticalSection( &request->task_cs );
}
release_object( &request->connect->hdr );