From 6782d06a206e8aa8304d4ec9518361aecd1b9472 Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Mon, 26 Jun 2006 11:32:54 +0000 Subject: Load /tmp/tmp.dFxzTv5957/strongswan-2.7.2 into branches/source-dist/debian/strongswan. --- programs/pluto/fetch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'programs/pluto/fetch.c') diff --git a/programs/pluto/fetch.c b/programs/pluto/fetch.c index 075b88fd2..4bfb6031b 100644 --- a/programs/pluto/fetch.c +++ b/programs/pluto/fetch.c @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * RCSID $Id: fetch.c,v 1.11 2005/11/25 10:08:00 as Exp $ + * RCSID $Id: fetch.c,v 1.12 2006/05/16 14:19:27 as Exp $ */ #include @@ -339,7 +339,7 @@ fetch_curl(char *url, chunk_t *blob) } curl_easy_cleanup(curl); /* not using freeanychunk because of realloc (no leak detective) */ - free(response.ptr); + curl_free(response.ptr); } return strlen(errorbuffer) > 0 ? "libcurl error" : NULL; #else /* !LIBCURL */ @@ -728,7 +728,7 @@ fetch_ocsp_status(ocsp_location_t* location) curl_easy_cleanup(curl); pfree(uri); /* not using freeanychunk because of realloc (no leak detective) */ - free(response.ptr); + curl_free(response.ptr); } freeanychunk(location->nonce); freeanychunk(request); -- cgit v1.2.3