[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:
parent
caecfa5b75
commit
b9bfa324eb
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue