From b9bfa324ebd117203bcef3324fd8db2dea54e7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Mon, 24 Nov 2014 12:38:00 +0000 Subject: [PATCH] [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 --- gb.net.curl/src/CHttpClient.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gb.net.curl/src/CHttpClient.c b/gb.net.curl/src/CHttpClient.c index a04bfa89b..2d920025e 100644 --- a/gb.net.curl/src/CHttpClient.c +++ b/gb.net.curl/src/CHttpClient.c @@ -151,7 +151,9 @@ static void http_reset(void *_object) GB.FreeString(&THIS->data); GB.Unref(&THIS_HTTP->headers); + THIS_HTTP->headers = NULL; GB.Unref(&THIS_HTTP->sent_headers); + THIS_HTTP->sent_headers = NULL; if (THIS_HTTP->sContentType) {