gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 74/153: lib1502: fix memory leak in torture test


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 74/153: lib1502: fix memory leak in torture test
Date: Tue, 11 Sep 2018 12:52:25 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 531cb203c14498561ea12992cf2b2184c34222d6
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Aug 10 13:18:17 2018 +0200

    lib1502: fix memory leak in torture test
    
    Reported-by: Marcel Raad
    Fixes #2861
    Closes #2863
---
 tests/libtest/lib1502.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/libtest/lib1502.c b/tests/libtest/lib1502.c
index 5b75e2f2a..bd7c7c864 100644
--- a/tests/libtest/lib1502.c
+++ b/tests/libtest/lib1502.c
@@ -79,6 +79,8 @@ int test(char *URL)
     easy = dup;
   }
   else {
+    curl_slist_free_all(dns_cache_list);
+    curl_easy_cleanup(easy);
     return CURLE_OUT_OF_MEMORY;
   }
 

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



reply via email to

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