[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-twister] branch master updated: fix leaks
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-twister] branch master updated: fix leaks |
Date: |
Sat, 20 Jan 2018 18:24:30 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository twister.
The following commit(s) were added to refs/heads/master by this push:
new cb863f8 fix leaks
cb863f8 is described below
commit cb863f824e2fa491a76cbb91bf539e1dfa48197b
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Jan 20 18:24:15 2018 +0100
fix leaks
---
src/twister/taler-twister-service.c | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)
diff --git a/src/twister/taler-twister-service.c
b/src/twister/taler-twister-service.c
index e6fbd56..328b5d7 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -1090,7 +1090,8 @@ mhd_completed_cb (void *cls,
hr->curl);
curl_slist_free_all (hr->headers);
hr->headers = NULL;
- curl_easy_reset (hr->curl);
+ curl_easy_cleanup (hr->curl);
+ hr->curl = NULL;
hr->io_len = 0;
}
if ( (NULL != hr->response) &&
@@ -1305,6 +1306,8 @@ do_shutdown (void *cls)
GNUNET_SCHEDULER_cancel (curl_download_task);
curl_download_task = NULL;
}
+ GNUNET_free (target_server_base_url);
+ target_server_base_url = NULL;
}
@@ -1351,18 +1354,6 @@ run (void *cls,
return;
}
if (GNUNET_OK !=
- GNUNET_CONFIGURATION_get_value_string (c,
- "twister",
- "DESTINATION_BASE_URL",
- &target_server_base_url))
- {
- GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
- "twister",
- "DESTINATION_BASE_URL");
- GNUNET_SCHEDULER_shutdown ();
- return;
- }
- if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_number (c,
"twister",
"HTTP_PORT",
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-twister] branch master updated: fix leaks,
gnunet <=