* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
free(ptr);
}
-static CURLcode unit_setup( void )
+static CURLcode unit_setup(void)
{
return Curl_hash_init(&hash_static, 7, Curl_hash_str,
Curl_str_key_compare, mydtor);
}
-static void unit_stop( void )
+static void unit_stop(void)
{
Curl_hash_destroy(&hash_static);
}
if(!nodep)
free(value);
abort_unless(nodep, "insertion into hash failed");
-
Curl_hash_clean(&hash_static);
/* Attempt to add another key/value pair */