Beispiel #1
0
DWORD WINAPI
shoes_download2(LPVOID data)
{
    shoes_http_request *req = (shoes_http_request *)data;
    shoes_download(req);
    shoes_http_request_free(req);
    free(req);
    return TRUE;
}
Beispiel #2
0
DWORD WINAPI
shoes_download2(LPVOID data)
{
  shoes_download_request *req = (shoes_download_request *)data;
  shoes_download(req);
  if (req->mem != NULL) free(req->mem);
  if (req->filepath != NULL) free(req->filepath);
  free(req->data);
  free(req);
  return TRUE;
}