Newer
Older
line = get_netscape_format(c);
if (line == NULL) {
/* get_netscape_format returns null only if we run out of memory */
Daniel Stenberg
committed
curl_slist_free_all(beg); /* free some memory */
return NULL;
}
list = curl_slist_append(list, line);
free(line);
c = c->next;
}
Daniel Stenberg
committed
Daniel Stenberg
committed
}
#endif /* CURL_DISABLE_HTTP || CURL_DISABLE_COOKIES */