[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 120/151: lib1557: fix mem-leak in OOM
From: |
gnunet |
Subject: |
[gnurl] 120/151: lib1557: fix mem-leak in OOM |
Date: |
Fri, 20 Dec 2019 14:27:09 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 6a15d1d4e574e7c41c67aa752c27ba0a3db21610
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Dec 12 15:08:19 2019 +0100
lib1557: fix mem-leak in OOM
Closes #4709
---
tests/libtest/lib1557.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/libtest/lib1557.c b/tests/libtest/lib1557.c
index bd0f20a85..d7132ad04 100644
--- a/tests/libtest/lib1557.c
+++ b/tests/libtest/lib1557.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2018, Daniel Stenberg, <address@hidden>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <address@hidden>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -49,13 +49,13 @@ int test(char *URL)
multi_perform(curlm, &running_handles);
multi_remove_handle(curlm, curl2);
- curl_easy_cleanup(curl2);
/* If curl2 is still in the connect-pending list, this will crash */
multi_remove_handle(curlm, curl1);
- curl_easy_cleanup(curl1);
test_cleanup:
+ curl_easy_cleanup(curl1);
+ curl_easy_cleanup(curl2);
curl_multi_cleanup(curlm);
curl_global_cleanup();
return res;
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 125/151: cirrus: Drop the FreeBSD 10.4 build, (continued)
- [gnurl] 125/151: cirrus: Drop the FreeBSD 10.4 build, gnunet, 2019/12/20
- [gnurl] 96/151: docs: fix some typos, gnunet, 2019/12/20
- [gnurl] 94/151: lib: fix some loose ends for recently added CURLSSLOPT_NO_PARTIALCHAIN, gnunet, 2019/12/20
- [gnurl] 89/151: CMake: add support for building with the NSS vtls backend, gnunet, 2019/12/20
- [gnurl] 101/151: cirrus: enable clang sanitizers on freebsd 13, gnunet, 2019/12/20
- [gnurl] 110/151: RELEASE-NOTES: synced, gnunet, 2019/12/20
- [gnurl] 112/151: conncache: CONNECT_ONLY connections assumed always in-use, gnunet, 2019/12/20
- [gnurl] 115/151: mailmap: fix Andrew Ishchuk, gnunet, 2019/12/20
- [gnurl] 113/151: runtests: introduce --shallow to reduce huge torture tests, gnunet, 2019/12/20
- [gnurl] 117/151: doh: make it behave when built without proxy support, gnunet, 2019/12/20
- [gnurl] 120/151: lib1557: fix mem-leak in OOM,
gnunet <=
- [gnurl] 121/151: lib1559: fix mem-leak in OOM, gnunet, 2019/12/20
- [gnurl] 126/151: ntlm_wb: fix double-free in OOM, gnunet, 2019/12/20
- [gnurl] 124/151: unit1620: fix bad free in OOM, gnunet, 2019/12/20
- [gnurl] 128/151: azure: add a torture test, gnunet, 2019/12/20
- [gnurl] 130/151: hostip: suppress compiler warning, gnunet, 2019/12/20
- [gnurl] 136/151: lib1591: free memory properly on OOM, in the trailers callback, gnunet, 2019/12/20
- [gnurl] 138/151: winbuild: Document CURL_STATICLIB requirement for static libcurl, gnunet, 2019/12/20
- [gnurl] 142/151: KNOWN_BUGS: LDAP on Windows doesn't work, gnunet, 2019/12/20
- [gnurl] 132/151: multi: free sockhash on OOM, gnunet, 2019/12/20
- [gnurl] 135/151: runtests: --repeat=[num] to repeat tests, gnunet, 2019/12/20