[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: fix leak in testcase
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: fix leak in testcase |
Date: |
Fri, 02 Mar 2018 22:48:25 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new f754fafc fix leak in testcase
f754fafc is described below
commit f754fafcd60ec71f63d4adc3bcad530cf754fe25
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Mar 2 22:48:22 2018 +0100
fix leak in testcase
---
src/testzzuf/test_post_form.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/testzzuf/test_post_form.c b/src/testzzuf/test_post_form.c
index fe248d47..d4e01c2b 100644
--- a/src/testzzuf/test_post_form.c
+++ b/src/testzzuf/test_post_form.c
@@ -181,7 +181,7 @@ testInternalPost ()
cbc.size = 2048;
cbc.pos = 0;
d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD /* | MHD_USE_ERROR_LOG
*/ ,
- 11080, NULL, NULL, &ahc_echo, NULL,
+ 11080, NULL, NULL, &ahc_echo, NULL,
MHD_OPTION_NOTIFY_COMPLETED, &completed_cb, NULL,
MHD_OPTION_END);
if (d == NULL)
@@ -232,7 +232,7 @@ testMultithreadedPost ()
cbc.size = 2048;
cbc.pos = 0;
d = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION |
MHD_USE_INTERNAL_POLLING_THREAD /* | MHD_USE_ERROR_LOG */ ,
- 11080, NULL, NULL, &ahc_echo, NULL,
+ 11080, NULL, NULL, &ahc_echo, NULL,
MHD_OPTION_NOTIFY_COMPLETED, &completed_cb, NULL,
MHD_OPTION_END);
if (d == NULL)
@@ -293,8 +293,8 @@ testExternalPost ()
cbc.size = 2048;
cbc.pos = 0;
d = MHD_start_daemon (MHD_NO_FLAG /* | MHD_USE_ERROR_LOG */ ,
- 1082, NULL, NULL, &ahc_echo, NULL,
- MHD_OPTION_NOTIFY_COMPLETED, &completed_cb, NULL,
+ 1082, NULL, NULL, &ahc_echo, NULL,
+ MHD_OPTION_NOTIFY_COMPLETED, &completed_cb, NULL,
MHD_OPTION_END);
if (d == NULL)
return 256;
@@ -327,7 +327,6 @@ testExternalPost ()
* crashes on my system! */
curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1);
-
mret = curl_multi_add_handle (multi, c);
if (mret != CURLM_OK)
{
@@ -389,6 +388,7 @@ testExternalPost ()
}
fprintf (stderr, "\n");
zzuf_socat_stop ();
+ curl_multi_cleanup (multi);
MHD_stop_daemon (d);
return 0;
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: fix leak in testcase,
gnunet <=