mirror of
https://github.com/curl/curl.git
synced 2026-07-23 09:27:17 +03:00
parent
685173e881
commit
d4b62bff64
1 changed files with 4 additions and 1 deletions
|
|
@ -54,8 +54,11 @@ curl_thread_t Curl_thread_create(CURL_THREAD_RETURN_T
|
|||
(CURL_STDCALL *func) (void *), void *arg)
|
||||
{
|
||||
curl_thread_t t = curlx_malloc(sizeof(pthread_t));
|
||||
struct Curl_actual_call *ac = curlx_malloc(sizeof(struct Curl_actual_call));
|
||||
struct Curl_actual_call *ac = NULL;
|
||||
int rc;
|
||||
|
||||
if(t)
|
||||
ac = curlx_malloc(sizeof(struct Curl_actual_call));
|
||||
if(!(ac && t))
|
||||
goto err;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue