gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 27/222: url: cleanup dangling DOH request headers too


From: gnunet
Subject: [gnurl] 27/222: url: cleanup dangling DOH request headers too
Date: Thu, 07 Nov 2019 00:08:43 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit beb435091793ceebf5e0b7502b17f785c051b3f7
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Sep 17 23:47:12 2019 +0200

    url: cleanup dangling DOH request headers too
    
    Follow-up to 9bc44ff64d9081
    
    Credit to OSS-Fuzz
    Bug: https://crbug.com/oss-fuzz/17269
    
    Closes #4372
---
 lib/url.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/url.c b/lib/url.c
index 94dc9b8b2..572cd9c68 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -404,6 +404,7 @@ CURLcode Curl_close(struct Curl_easy *data)
   Curl_close(data->req.doh.probe[1].easy);
   free(data->req.doh.probe[0].serverdoh.memory);
   free(data->req.doh.probe[1].serverdoh.memory);
+  curl_slist_free_all(data->req.doh.headers);
 
   /* destruct wildcard structures if it is needed */
   Curl_wildcard_dtor(&data->wildcard);

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]