From e6cd738ed3716c02557fb3a47515244e949ade39 Mon Sep 17 00:00:00 2001 From: Bertrand SIMONNET Date: Wed, 1 Jul 2015 15:39:44 -0700 Subject: Import curl 7.43 This is a simple import of curl 7.43. The only change from the official release is the fact that the Android.mk was removed to avoid build error trying to parse it. BUG: 22347561 Change-Id: I52ef6798d30b25d22d1f62770d571adec8bcf4d5 --- tests/libtest/lib539.c | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) (limited to 'tests/libtest/lib539.c') diff --git a/tests/libtest/lib539.c b/tests/libtest/lib539.c index 9909d01..053d298 100644 --- a/tests/libtest/lib539.c +++ b/tests/libtest/lib539.c @@ -1,12 +1,24 @@ -/***************************************************************************** - * _ _ ____ _ - * Project ___| | | | _ \| | - * / __| | | | |_) | | - * | (__| |_| | _ <| |___ - * \___|\___/|_| \_\_____| - * - */ - +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) 1998 - 2011, Daniel Stenberg, , et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at http://curl.haxx.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ***************************************************************************/ #include "test.h" #include "memdebug.h" @@ -71,8 +83,7 @@ int test(char *URL) test_cleanup: curl_slist_free_all(slist); - if(newURL) - free(newURL); + free(newURL); curl_easy_cleanup(curl); curl_global_cleanup(); -- cgit v1.2.3