Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
opt
cpr
opt
curl
tests
unit
unit1330.c
Go to the documentation of this file.
1
/***************************************************************************
2
* _ _ ____ _
3
* Project ___| | | | _ \| |
4
* / __| | | | |_) | |
5
* | (__| |_| | _ <| |___
6
* \___|\___/|_| \_\_____|
7
*
8
* Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
9
*
10
* This software is licensed as described in the file COPYING, which
11
* you should have received as part of this distribution. The terms
12
* are also available at https://curl.haxx.se/docs/copyright.html.
13
*
14
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
15
* copies of the Software, and permit persons to whom the Software is
16
* furnished to do so, under the terms of the COPYING file.
17
*
18
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
* KIND, either express or implied.
20
*
21
***************************************************************************/
22
#include "
curlcheck.h
"
23
24
#include "
memdebug.h
"
25
26
27
static
CURLcode
unit_setup
(
void
)
28
{
29
return
CURLE_OK
;
30
}
31
32
static
void
unit_stop
(
void
)
33
{
34
}
35
36
UNITTEST_START
37
38
char
*
ptr
=
malloc
(1330);
39
Curl_safefree
(
ptr
);
40
41
UNITTEST_STOP
UNITTEST_START
#define UNITTEST_START
Definition:
curlcheck.h:86
unit_setup
static CURLcode unit_setup(void)
Definition:
unit1330.c:27
ptr
UNITTEST_START char * ptr
Definition:
unit1330.c:38
CURLcode
CURLcode
Definition:
curl.h:454
malloc
#define malloc(size)
Definition:
curl_memory.h:124
curlcheck.h
unit_stop
static void unit_stop(void)
Definition:
unit1330.c:32
CURLE_OK
Definition:
curl.h:455
UNITTEST_STOP
#define UNITTEST_STOP
Definition:
curlcheck.h:95
Curl_safefree
Curl_safefree(ptr)
memdebug.h
rc_tagdetect_client
Author(s): Monika Florek-Jasinska
, Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:16