[GB.NET.CURL]

* BUG: HttpClient: Internal header array is now correctly managed.


git-svn-id: svn://localhost/gambas/trunk@6675 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2014-11-24 12:38:00 +00:00
parent caecfa5b75
commit b9bfa324eb

View file

@ -151,7 +151,9 @@ static void http_reset(void *_object)
GB.FreeString(&THIS->data); GB.FreeString(&THIS->data);
GB.Unref(&THIS_HTTP->headers); GB.Unref(&THIS_HTTP->headers);
THIS_HTTP->headers = NULL;
GB.Unref(&THIS_HTTP->sent_headers); GB.Unref(&THIS_HTTP->sent_headers);
THIS_HTTP->sent_headers = NULL;
if (THIS_HTTP->sContentType) if (THIS_HTTP->sContentType)
{ {